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
mobile: fix bottom safe area margins
ammarahm-ed465fd6228367
diff --git a/apps/mobile/app/app.js b/apps/mobile/app/app.jsindex 2108eba9f..c9df8ee91 100644--- a/apps/mobile/app/app.js+++ b/apps/mobile/app/app.js@@ -59,10 +59,9 @@ const App = () => {<Viewstyle={{position: "absolute",- height: "1%",- width: "1%",- left: -999,- right: -999+ width: "100%",+ height: "100%",+ zIndex: -1}}pointerEvents="none">diff --git a/apps/mobile/app/screens/editor/wrapper.js b/apps/mobile/app/screens/editor/wrapper.jsindex b7208d15f..ee51be590 100644--- a/apps/mobile/app/screens/editor/wrapper.js+++ b/apps/mobile/app/screens/editor/wrapper.js@@ -64,10 +64,11 @@ export const EditorWrapper = ({ width }) => {}, [loading]);const getMarginBottom = () => {- if (!keyboard.keyboardShown) return insets.bottom / 2;- if (Platform.isPad && !floating) return 16;- if (Platform.OS === "ios") return insets.bottom / 2;- return 6;+ const bottomInsets = Platform.OS === "android" ? 14 : insets.bottom || 14;+ if (!keyboard.keyboardShown) return bottomInsets / 1.5;+ if (Platform.isPad && !floating) return bottomInsets;+ if (Platform.OS === "ios") return bottomInsets / 1.5;+ return bottomInsets;};return (