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: update relations on sync complete
ammarahm-edf78d0cda1d49
diff --git a/apps/mobile/app/stores/index.ts b/apps/mobile/app/stores/index.tsindex 298ae4382..c9374eac3 100644--- a/apps/mobile/app/stores/index.ts+++ b/apps/mobile/app/stores/index.ts@@ -28,6 +28,7 @@ import { useTagStore } from "./use-tag-store";import { useTrashStore } from "./use-trash-store";import { useReminderStore } from "./use-reminder-store";import Notifications from "../services/notifications";+import { useRelationStore } from "./use-relation-store";export function initAfterSync() {useMenuStore.getState().setColorNotes();useMenuStore.getState().setMenuPins();@@ -37,6 +38,7 @@ export function initAfterSync() {// Whenever sync completes, try to reschedule// any new/updated reminders.Notifications.setupReminders();+ useRelationStore.getState().update();}export function initialize() {