fix selection header on android

This commit is contained in:
ammarahm-ed
2020-09-14 09:42:36 +05:00
parent 9c8196a8f2
commit 18f352691b

View File

@@ -44,12 +44,9 @@ export const SelectionHeader = () => {
style={{ style={{
width: '100%', width: '100%',
position: 'absolute', position: 'absolute',
height: height:50,
Platform.OS === 'android'
? 100 + StatusBar.currentHeight
: insets.top * 2.1,
backgroundColor: colors.bg, backgroundColor: colors.bg,
paddingTop: Platform.OS === 'ios' ? 0 : StatusBar.currentHeight, marginTop: insets.top,
justifyContent: 'flex-end', justifyContent: 'flex-end',
zIndex: 999, zIndex: 999,
paddingHorizontal: 12, paddingHorizontal: 12,