Skip to content

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

fix (ios): editor bottom insets

ammarahm-eda87e42b83610
diff --git a/apps/mobile/src/screens/editor/wrapper.js b/apps/mobile/src/screens/editor/wrapper.js
index 9e702c345..0942aa693 100644
--- a/apps/mobile/src/screens/editor/wrapper.js
+++ b/apps/mobile/src/screens/editor/wrapper.js
@@ -38,9 +38,10 @@ export const EditorWrapper = ({ width }) => {
}, [loading]);
const getMarginBottom = () => {
+ console.log(insets.top);
if (!keyboard.keyboardShown) return insets.bottom / 2;
if (Platform.isPad && !floating) return 16;
- if (Platform.OS === 'ios') return 0;
+ if (Platform.OS === 'ios') return insets.bottom / 2;
return 6;
};