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
web: fix nav pane on small screens Signed-off-by: 01zulfi <[email protected]>
01zulfic4e306d5691c
diff --git a/apps/web/src/app.tsx b/apps/web/src/app.tsxindex 49ca2f653..53b5758ce 100644--- a/apps/web/src/app.tsx+++ b/apps/web/src/app.tsx@@ -60,6 +60,14 @@ function App() {useSettingStore.getState().desktopIntegrationSettings?.nativeTitlebar;console.timeEnd("loading app");+ useEffect(() => {+ if (isMobile) {+ useStore.setState({+ isNavPaneCollapsed: false+ });+ }+ }, [isMobile]);+return (<>{isFocused ? null : (