parent
157b85c2cb
commit
251293116a
|
@ -30,6 +30,12 @@ export default class Routes extends React.Component {
|
||||||
return !this.props.app.ready && this.props.appInit();
|
return !this.props.app.ready && this.props.appInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
componentDidMount() {
|
||||||
|
if (!this.props.app.starting) {
|
||||||
|
SplashScreen.hide();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
componentWillReceiveProps(nextProps) {
|
||||||
if (!nextProps.app.starting && this.props.app.starting !== nextProps.app.starting) {
|
if (!nextProps.app.starting && this.props.app.starting !== nextProps.app.starting) {
|
||||||
SplashScreen.hide();
|
SplashScreen.hide();
|
||||||
|
|
|
@ -88,7 +88,11 @@ class LoginView extends React.Component {
|
||||||
contentContainerStyle={styles.container}
|
contentContainerStyle={styles.container}
|
||||||
keyboardVerticalOffset={128}
|
keyboardVerticalOffset={128}
|
||||||
>
|
>
|
||||||
<ScrollView style={styles.loginView}>
|
<ScrollView
|
||||||
|
style={styles.loginView}
|
||||||
|
keyboardDismissMode='interactive'
|
||||||
|
keyboardShouldPersistTaps='always'
|
||||||
|
>
|
||||||
<SafeAreaView>
|
<SafeAreaView>
|
||||||
<View style={styles.formContainer}>
|
<View style={styles.formContainer}>
|
||||||
<TextInput
|
<TextInput
|
||||||
|
|
Loading…
Reference in New Issue