Fix status bar for Android in server url screen (#1210)
This commit is contained in:
parent
1a5b6886ef
commit
e19c76cc4c
1 changed files with 5 additions and 1 deletions
|
|
@ -228,6 +228,10 @@ class SelectServer extends PureComponent {
|
|||
}
|
||||
|
||||
const error = pingRequest.error || configRequest.error || licenseRequest.error;
|
||||
let statusStyle = 'dark-content';
|
||||
if (Platform.OS === 'android') {
|
||||
statusStyle = 'light-content';
|
||||
}
|
||||
|
||||
return (
|
||||
<KeyboardAvoidingView
|
||||
|
|
@ -235,7 +239,7 @@ class SelectServer extends PureComponent {
|
|||
style={{flex: 1}}
|
||||
keyboardVerticalOffset={0}
|
||||
>
|
||||
<StatusBar barStyle='dark-content'/>
|
||||
<StatusBar barStyle={statusStyle}/>
|
||||
<TouchableWithoutFeedback onPress={this.blur}>
|
||||
<View style={[GlobalStyles.container, GlobalStyles.signupContainer]}>
|
||||
<Image
|
||||
|
|
|
|||
Loading…
Reference in a new issue