This commit is contained in:
ammarahm-ed
2020-12-29 17:21:19 +05:00
parent 8eeb66e0e7
commit e5eb0f2d64
4 changed files with 3 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ const SimpleList = ({
);
const insets = useSafeAreaInsets();
const {width, fontScale} = useWindowDimensions();
const {width, fontScale,height} = useWindowDimensions();
const listData = data;
const dataType = type;
@@ -131,7 +131,7 @@ const SimpleList = ({
style={[
{
backgroundColor: colors.bg,
height: dHeight - 250 - insets.top,
height: height - 250 - insets.top,
width: '100%',
},
]}>