Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix a possible crash

ammarahm-ed2db0bc4f6813
diff --git a/apps/mobile/src/provider/stores.ts b/apps/mobile/src/provider/stores.ts
index 5cea00161..38128e9f4 100644
--- a/apps/mobile/src/provider/stores.ts
+++ b/apps/mobile/src/provider/stores.ts
@@ -408,6 +408,7 @@ export function clearAllStores() {
useNotebookStore.getState().clearNotebooks();
useTagStore.getState().clearTags();
useFavoriteStore.getState().clearFavorites();
+ useMenuStore.getState().clearAll();
useNoteStore.getState().clearNotes();
useMenuStore.getState().clearAll();
useTrashStore.getState().clearTrash();