Skip to content

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

fix: auto backup not started on app launch

ammarahm-edb095bb4b8eb5
diff --git a/apps/mobile/src/components/launcher/index.js b/apps/mobile/src/components/launcher/index.js
index 032bdf3d0..716584fda 100644
--- a/apps/mobile/src/components/launcher/index.js
+++ b/apps/mobile/src/components/launcher/index.js
@@ -111,8 +111,8 @@ const Launcher = React.memo(
eSendEvent('session_expired');
return;
}
+ const user = await db.user.getUser();
await useMessageStore.getState().setAnnouncement();
-
if (PremiumService.get() && user) {
if (SettingsService.get().reminder === 'off') {
SettingsService.set({ reminder: 'daily' });