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: fix sync taking too long to complete
Ammar Ahmedd4019eea99cf
diff --git a/apps/mobile/app/screens/editor/tiptap/use-editor.ts b/apps/mobile/app/screens/editor/tiptap/use-editor.tsindex da28ff64c..42fbe7ba9 100644--- a/apps/mobile/app/screens/editor/tiptap/use-editor.ts+++ b/apps/mobile/app/screens/editor/tiptap/use-editor.ts@@ -755,6 +755,8 @@ export const useEditor = (? (data as ContentItem).noteId: data.id;+ if (!useTabStore.getState().hasTabForNote(noteId)) return;+const note = data.type === "note" ? data : await db.notes?.note(noteId);lock.current = true;// Handle this case where note was locked on another device and synced.