Merge pull request #663 from esteemapp/bugfix/#658

Fix for #658
This commit is contained in:
uğur erdal 2019-03-06 16:23:00 +03:00 committed by GitHub
commit 0ed0c7e41a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,8 @@
import React, { PureComponent } from 'react';
import {
View, Text, FlatList, TouchableHighlight,
View, Text, FlatList, TouchableHighlight, SafeAreaView,
} from 'react-native';
import FastImage from 'react-native-fast-image';
// Constants
@ -46,7 +47,7 @@ class SearchModalView extends PureComponent {
swipeToClose
isTransparent
>
<View style={styles.container}>
<SafeAreaView style={styles.container}>
<SearchInput
onChangeText={handleOnChangeSearchInput}
handleOnModalClose={handleOnClose}
@ -81,7 +82,7 @@ class SearchModalView extends PureComponent {
initialNumToRender={20}
/>
</View>
</View>
</SafeAreaView>
</Modal>
);
}