diff --git a/apps/mobile/app/services/notifications.ts b/apps/mobile/app/services/notifications.ts index d26f6586b..714eb238b 100644 --- a/apps/mobile/app/services/notifications.ts +++ b/apps/mobile/app/services/notifications.ts @@ -209,8 +209,8 @@ const onEvent = async ({ type, detail }: Event) => { data: `
${input}
` } }); - await db.notes?.init(); if (!db.isInitialized) await db.init(); + await db.notes?.init(); await db.sync(false, false); useNoteStore.getState().setNotes(); break;