Skip to content

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

mobile: fix sidebar items do not update after sync

Ammar Ahmed84bfab2a7217
diff --git a/apps/mobile/app/stores/index.ts b/apps/mobile/app/stores/index.ts
index 098a666b9..9171be95d 100644
--- a/apps/mobile/app/stores/index.ts
+++ b/apps/mobile/app/stores/index.ts
@@ -45,10 +45,10 @@ export function initAfterSync(type: "full" | "send" = "send") {
useUserStore.setState({
profile: db.settings.getProfile()
});
- eSendEvent(eAfterSync);
}
Notifications.setupReminders(true);
NotePreviewWidget.updateNotes();
+ eSendEvent(eAfterSync);
}
export async function initialize() {}