RoomInfoEditView style

This commit is contained in:
Diego Mello 2020-05-27 15:05:22 -03:00
parent 15e1897fb3
commit 816cb43a1e
1 changed files with 11 additions and 7 deletions

View File

@ -347,12 +347,16 @@ class RoomInfoEditView extends React.Component {
keyboardVerticalOffset={128} keyboardVerticalOffset={128}
> >
<StatusBar theme={theme} /> <StatusBar theme={theme} />
<SafeAreaView
testID='room-info-edit-view'
theme={theme}
style={{ backgroundColor: themes[theme].backgroundColor }}
>
<ScrollView <ScrollView
contentContainerStyle={sharedStyles.containerScrollView} contentContainerStyle={sharedStyles.containerScrollView}
testID='room-info-edit-view-list' testID='room-info-edit-view-list'
{...scrollPersistTaps} {...scrollPersistTaps}
> >
<SafeAreaView testID='room-info-edit-view' theme={theme}>
<RCTextInput <RCTextInput
inputRef={(e) => { this.name = e; }} inputRef={(e) => { this.name = e; }}
label={I18n.t('Name')} label={I18n.t('Name')}
@ -540,8 +544,8 @@ class RoomInfoEditView extends React.Component {
</Text> </Text>
</TouchableOpacity> </TouchableOpacity>
<Loading visible={saving} /> <Loading visible={saving} />
</SafeAreaView>
</ScrollView> </ScrollView>
</SafeAreaView>
</KeyboardView> </KeyboardView>
); );
} }