Skip to content

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

mobile: fix sheet insets on android 16+

Ammar Ahmedc1892790304b
diff --git a/apps/mobile/app/components/ui/sheet/index.js b/apps/mobile/app/components/ui/sheet/index.js
index 4aaa5903a..0ceff5f3c 100644
--- a/apps/mobile/app/components/ui/sheet/index.js
+++ b/apps/mobile/app/components/ui/sheet/index.js
@@ -132,7 +132,10 @@ const SheetWrapper = ({
width: 100,
backgroundColor: colors.secondary.background
}}
- safeAreaInsets={insets}
+ safeAreaInsets={{
+ ...insets,
+ bottom: Platform.OS === "android" ? 0 : insets.bottom
+ }}
statusBarTranslucent
drawUnderStatusBar={true}
containerStyle={style}