mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
mobile: fix bottom padding
This commit is contained in:
@@ -77,9 +77,9 @@ const SheetWrapper = ({
|
||||
...getContainerBorder(colors.primary.border, 0.5),
|
||||
borderBottomWidth: 0,
|
||||
paddingBottom:
|
||||
Platform.OS === "android"
|
||||
Platform.OS === "android" && !insets.bottom
|
||||
? isGestureNavigationEnabled
|
||||
? insets.bottom
|
||||
? 0
|
||||
: 30
|
||||
: 0
|
||||
};
|
||||
@@ -165,10 +165,7 @@ const SheetWrapper = ({
|
||||
{bottomPadding ? (
|
||||
<View
|
||||
style={{
|
||||
height:
|
||||
Platform.OS === "ios" || insets.bottom !== 0
|
||||
? insets.bottom
|
||||
: 20
|
||||
height: insets.bottom !== 0 ? insets.bottom : 20
|
||||
}}
|
||||
/>
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user