Skip to content

Commit

Permalink
Fix android status bar color. (keybase#19749)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo authored Sep 17, 2019
1 parent d7f9c9e commit 17cc9dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shared/router-v2/router.native.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,9 @@ class RNApp extends React.PureComponent<Props> {
render() {
return (
<>
<Kb.NativeStatusBar barStyle={this.props.isDarkMode ? 'light-content' : 'dark-content'} />
<Kb.NativeStatusBar
barStyle={Styles.isAndroid ? 'default' : this.props.isDarkMode ? 'light-content' : 'dark-content'}
/>
<AppContainer ref={nav => (this._nav = nav)} onNavigationStateChange={this._persistRoute} />
<GlobalError />
<OutOfDate />
Expand Down

0 comments on commit 17cc9dd

Please sign in to comment.