A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: reminder notification shows even after removing reminders
Ammar Ahmedd22301ccf9b1
diff --git a/apps/mobile/app/hooks/use-actions.tsx b/apps/mobile/app/hooks/use-actions.tsxindex e522250ea..25496b8e5 100644--- a/apps/mobile/app/hooks/use-actions.tsx+++ b/apps/mobile/app/hooks/use-actions.tsx@@ -254,6 +254,7 @@ export const useActions = ({positivePress: async () => {if (item.type === "reminder") {await db.reminders.remove(item.id);+ Notifications.setupReminders(true);} else if (item.type === "color") {await db.colors.remove(item.id);useMenuStore.getState().setColorNotes();diff --git a/apps/mobile/app/hooks/use-app-events.tsx b/apps/mobile/app/hooks/use-app-events.tsxindex 8f073d674..89d82110a 100644--- a/apps/mobile/app/hooks/use-app-events.tsx+++ b/apps/mobile/app/hooks/use-app-events.tsx@@ -212,6 +212,7 @@ const onRequestPartialSync = async (const onLogout = async (reason: string) => {DatabaseLogger.log("User Logged Out" + reason);+ Notifications.setupReminders(true);SettingsService.set({introCompleted: true});