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: open/close drawer only on small tablets
ammarahm-edb0d1b6859814
diff --git a/apps/mobile/src/navigation/tabsholder.js b/apps/mobile/src/navigation/tabsholder.jsindex 60d8d8abc..bd7cea95c 100644--- a/apps/mobile/src/navigation/tabsholder.js+++ b/apps/mobile/src/navigation/tabsholder.js@@ -64,7 +64,9 @@ export const TabsHolder = React.memo(const showFullScreenEditor = () => {setFullscreen(true);- tabBarRef.current?.openDrawer();+ if (deviceMode === 'smallTablet') {+ tabBarRef.current?.openDrawer();+ }editorRef.current?.setNativeProps({style: {width: dimensions.width,@@ -76,7 +78,9 @@ export const TabsHolder = React.memo(};const closeFullScreenEditor = () => {- tabBarRef.current?.closeDrawer();+ if (deviceMode === 'smallTablet') {+ tabBarRef.current?.closeDrawer();+ }setFullscreen(false);editorController.current?.commands.updateSettings({fullscreen: false