Improved statusbar color
This commit is contained in:
parent
6b04447535
commit
b2073747c9
2 changed files with 6 additions and 7 deletions
3
App.js
3
App.js
|
@ -115,13 +115,12 @@ export default class App extends React.Component<Props, State> {
|
|||
* as the android status bar is always set to black.
|
||||
*/
|
||||
setupStatusBar() {
|
||||
if (Platform.OS === 'ios') {
|
||||
if (ThemeManager.getNightMode()) {
|
||||
StatusBar.setBarStyle('light-content', true);
|
||||
} else {
|
||||
StatusBar.setBarStyle('dark-content', true);
|
||||
}
|
||||
}
|
||||
StatusBar.setBackgroundColor(ThemeManager.getCurrentTheme().colors.surface, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
2
app.json
2
app.json
|
@ -21,7 +21,7 @@
|
|||
"barStyle": "light-content",
|
||||
"hidden": false,
|
||||
"translucent": false,
|
||||
"backgroundColor": "#000000"
|
||||
"backgroundColor": "#be1522"
|
||||
},
|
||||
"androidNavigationBar": {
|
||||
"barStyle": "light-content",
|
||||
|
|
Loading…
Reference in a new issue