Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

add padding to top when gestures disabled

ammarahm-ed348c87d38ede
diff --git a/apps/mobile/src/components/ActionSheetComponent/ActionSheetWrapper.js b/apps/mobile/src/components/ActionSheetComponent/ActionSheetWrapper.js
index 1138a3204..247e35fd6 100644
--- a/apps/mobile/src/components/ActionSheetComponent/ActionSheetWrapper.js
+++ b/apps/mobile/src/components/ActionSheetComponent/ActionSheetWrapper.js
@@ -33,8 +33,9 @@ const ActionSheetWrapper = ({
borderBottomLeftRadius: largeTablet ? 10 : 1,
marginBottom: largeTablet ? 50 : 0,
alignSelf: 'center',
+ paddingTop:gestureEnabled ? 8 : 18
};
- }, [colors.bg]);
+ }, [colors.bg,gestureEnabled]);
return (
<ActionSheet