flex for the flatlist

This commit is contained in:
Reinaldo Neto 2023-03-06 19:10:06 -03:00
parent 5c75be6ac5
commit 7d28758fe7
2 changed files with 3 additions and 2 deletions

View File

@ -1026,7 +1026,7 @@ class RoomsListView extends React.Component<IRoomsListViewProps, IRoomsListViewS
return ( return (
<SafeAreaView testID='rooms-list-view' style={{ backgroundColor: themes[theme].backgroundColor }}> <SafeAreaView testID='rooms-list-view' style={{ backgroundColor: themes[theme].backgroundColor }}>
<KeyboardView contentContainerStyle={styles.container}> <KeyboardView>
<StatusBar /> <StatusBar />
{this.renderHeader()} {this.renderHeader()}
{this.renderScroll()} {this.renderScroll()}

View File

@ -7,7 +7,8 @@ export default StyleSheet.create({
flex: 1 flex: 1
}, },
list: { list: {
width: '100%' width: '100%',
flex: 1
}, },
dropdownContainerHeader: { dropdownContainerHeader: {
height: 41, height: 41,