mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
setting status bar color
This commit is contained in:
parent
5f7483c17b
commit
4e380a8e05
@ -2,6 +2,7 @@ import { Appearance } from 'react-native'
|
|||||||
|
|
||||||
const LightColors = {
|
const LightColors = {
|
||||||
overlay: 'dark',
|
overlay: 'dark',
|
||||||
|
statusBar: 'dark-content',
|
||||||
tabBar: '#448866',
|
tabBar: '#448866',
|
||||||
activeTabIcon: '#ffffff',
|
activeTabIcon: '#ffffff',
|
||||||
idleTabIcon: '#cccccc',
|
idleTabIcon: '#cccccc',
|
||||||
@ -53,6 +54,7 @@ const LightColors = {
|
|||||||
|
|
||||||
const DarkColors = {
|
const DarkColors = {
|
||||||
overlay: 'dark',
|
overlay: 'dark',
|
||||||
|
statusBar: 'light-content',
|
||||||
tabBar: '#111111',
|
tabBar: '#111111',
|
||||||
activeTabIcon: '#dddddd',
|
activeTabIcon: '#dddddd',
|
||||||
idleTabIcon: '#aaaaaa',
|
idleTabIcon: '#aaaaaa',
|
||||||
|
@ -469,7 +469,7 @@ export function Session({ sharing, clearSharing }) {
|
|||||||
<Tab.Screen name="Settings" component={SettingsStackScreen} />
|
<Tab.Screen name="Settings" component={SettingsStackScreen} />
|
||||||
</Tab.Navigator>
|
</Tab.Navigator>
|
||||||
)}
|
)}
|
||||||
<StatusBar barStyle="dark-content" backgroundColor={Colors.formBackground} />
|
<StatusBar barStyle={Colors.statusBar} backgroundColor={Colors.screenBase} />
|
||||||
</View>
|
</View>
|
||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
|
Loading…
Reference in New Issue
Block a user