setting status bar color

This commit is contained in:
Roland Osborne 2023-09-13 23:21:44 -07:00
parent 5f7483c17b
commit 4e380a8e05
2 changed files with 3 additions and 1 deletions

View File

@ -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',

View File

@ -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>