A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix safe area insets on ios
ammarahm-ed08efa07f4e35
diff --git a/apps/mobile/src/screens/editor/wrapper.js b/apps/mobile/src/screens/editor/wrapper.jsindex 83bf3b1e3..9e702c345 100644--- a/apps/mobile/src/screens/editor/wrapper.js+++ b/apps/mobile/src/screens/editor/wrapper.js@@ -38,9 +38,9 @@ export const EditorWrapper = ({ width }) => {}, [loading]);const getMarginBottom = () => {- if (!keyboard.keyboardShown) return 0;+ if (!keyboard.keyboardShown) return insets.bottom / 2;if (Platform.isPad && !floating) return 16;- if (Platform.OS == 'ios') return insets.bottom;+ if (Platform.OS === 'ios') return 0;return 6;};