[FIX] Remove onboarding insets (#1122)

This commit is contained in:
Diego Mello 2019-08-09 14:51:06 -03:00 committed by GitHub
parent 59426f470b
commit 1a6011e9d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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>