[FIX] Remove onboarding insets (#1122)
This commit is contained in:
parent
59426f470b
commit
1a6011e9d1
|
@ -153,7 +153,7 @@ class NewServerView extends React.Component {
|
||||||
>
|
>
|
||||||
<StatusBar light />
|
<StatusBar light />
|
||||||
<ScrollView {...scrollPersistTaps} contentContainerStyle={sharedStyles.containerScrollView}>
|
<ScrollView {...scrollPersistTaps} contentContainerStyle={sharedStyles.containerScrollView}>
|
||||||
<SafeAreaView style={sharedStyles.container} testID='new-server-view' forceInset={{ vertical: 'never' }}>
|
<SafeAreaView style={sharedStyles.container} testID='new-server-view'>
|
||||||
<Image style={styles.image} source={{ uri: 'new_server' }} />
|
<Image style={styles.image} source={{ uri: 'new_server' }} />
|
||||||
<Text style={styles.title}>{I18n.t('Sign_in_your_server')}</Text>
|
<Text style={styles.title}>{I18n.t('Sign_in_your_server')}</Text>
|
||||||
<TextInput
|
<TextInput
|
||||||
|
|
|
@ -125,7 +125,7 @@ class OnboardingView extends React.Component {
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<SafeAreaView style={styles.container} testID='onboarding-view' forceInset={{ vertical: 'never' }}>
|
<SafeAreaView style={styles.container} testID='onboarding-view'>
|
||||||
<StatusBar light />
|
<StatusBar light />
|
||||||
<Image style={styles.onboarding} source={{ uri: 'onboarding' }} fadeDuration={0} />
|
<Image style={styles.onboarding} source={{ uri: 'onboarding' }} fadeDuration={0} />
|
||||||
<Text style={styles.title}>{I18n.t('Welcome_to_RocketChat')}</Text>
|
<Text style={styles.title}>{I18n.t('Welcome_to_RocketChat')}</Text>
|
||||||
|
|
Loading…
Reference in New Issue