Skip to content

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

fix trash not cleared on logout

Ammar Ahmed93e5c8034769
diff --git a/apps/mobile/src/provider/stores.ts b/apps/mobile/src/provider/stores.ts
index f08321fff..388a5c508 100644
--- a/apps/mobile/src/provider/stores.ts
+++ b/apps/mobile/src/provider/stores.ts
@@ -306,6 +306,7 @@ export function clearAllStores() {
useFavoriteStore.getState().clearFavorites();
useNoteStore.getState().clearNotes();
useMenuStore.getState().clearAll();
+ useTrashStore.getState().clearTrash();
}
export const allowedPlatforms = ['all', 'mobile', Platform.OS];