Improved statusbar color

このコミットが含まれているのは:
Arnaud Vergnet 2020-04-20 20:55:37 +02:00
コミット b2073747c9
2個のファイルの変更6行の追加7行の削除

11
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);
}
if (ThemeManager.getNightMode()) {
StatusBar.setBarStyle('light-content', true);
} else {
StatusBar.setBarStyle('dark-content', true);
}
StatusBar.setBackgroundColor(ThemeManager.getCurrentTheme().colors.surface, true);
}
/**

ファイルの表示

@ -21,7 +21,7 @@
"barStyle": "light-content",
"hidden": false,
"translucent": false,
"backgroundColor": "#000000"
"backgroundColor": "#be1522"
},
"androidNavigationBar": {
"barStyle": "light-content",