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 notes open empty from notes list
Ammar Ahmed31dd1619f633
diff --git a/apps/mobile/app/navigation/fluid-panels-view.tsx b/apps/mobile/app/navigation/fluid-panels-view.tsxindex b7b833166..5235f6721 100644--- a/apps/mobile/app/navigation/fluid-panels-view.tsx+++ b/apps/mobile/app/navigation/fluid-panels-view.tsx@@ -530,17 +530,11 @@ const onChangeTab = async (event: { i: number; from: number }) => {activateKeepAwake();eSendEvent(eOnEnterEditor);- if (!useTabStore.getState().getCurrentNoteId()) {- eSendEvent(eOnLoadNote, {- newNote: true- });- } else {- if (- useTabStore.getState().getTab(useTabStore.getState().currentTab)- ?.session?.locked- ) {- eSendEvent(eUnlockNote);- }+ if (+ useTabStore.getState().getTab(useTabStore.getState().currentTab)?.session+ ?.locked+ ) {+ eSendEvent(eUnlockNote);}} else {if (event.from === 2) {