fix bottom button positon on notchless devices

This commit is contained in:
ammarahm-ed
2020-12-06 12:06:52 +05:00
parent f0b59b2dc0
commit 4809977c92

View File

@@ -53,7 +53,10 @@ export const ContainerBottomButton = ({
style={{
position: 'absolute',
right: 12,
bottom: Platform.OS === 'ios' ? insets.bottom - 10 : insets.bottom + 12,
bottom:
Platform.OS === 'ios' && insets.bottom !== 0
? insets.bottom - 10
: insets.bottom + 12,
zIndex: 10,
transform: [
{