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: do not start sync if sync is running
ammarahm-ed6554f900d76c
diff --git a/apps/mobile/app/services/sync.js b/apps/mobile/app/services/sync.jsindex 94884d771..15d3d5aa2 100644--- a/apps/mobile/app/services/sync.js+++ b/apps/mobile/app/services/sync.js@@ -41,6 +41,11 @@ const run = async (full = true,onCompleted) => {+ if (useUserStore.getState().syncing) {+ DatabaseLogger.log("Sync in progress");+ console.log("Sync in progress");+ return;+ }clearTimeout(syncTimer);syncTimer = setTimeout(async () => {const status = await NetInfo.fetch();