[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 />
|
||||
<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' }} />
|
||||
<Text style={styles.title}>{I18n.t('Sign_in_your_server')}</Text>
|
||||
<TextInput
|
||||
|
|
|
@ -125,7 +125,7 @@ class OnboardingView extends React.Component {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<SafeAreaView style={styles.container} testID='onboarding-view' forceInset={{ vertical: 'never' }}>
|
||||
<SafeAreaView style={styles.container} testID='onboarding-view'>
|
||||
<StatusBar light />
|
||||
<Image style={styles.onboarding} source={{ uri: 'onboarding' }} fadeDuration={0} />
|
||||
<Text style={styles.title}>{I18n.t('Welcome_to_RocketChat')}</Text>
|
||||
|
|
Loading…
Reference in New Issue