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
run sync after merging note
ammarahm-edc089d800ce8c
diff --git a/apps/mobile/src/components/MergeEditor/index.js b/apps/mobile/src/components/MergeEditor/index.jsindex eef7e8557..d2759d428 100644--- a/apps/mobile/src/components/MergeEditor/index.js+++ b/apps/mobile/src/components/MergeEditor/index.js@@ -13,7 +13,7 @@ import {eUnSubscribeEvent,sendNoteEditedEvent,} from '../../services/EventManager';-import {dHeight} from '../../utils';+import {dHeight, doInBackground} from '../../utils';import {db} from '../../utils/DB';import {eApplyChanges,@@ -33,6 +33,7 @@ import {timeConverter} from '../../utils/TimeUtils';import tiny from '../../views/Editor/tiny/tiny';import diff from '../../utils/differ';import {openLinkInBrowser} from '../../utils/functions';+import Sync from '../../services/Sync';const {Value, timing} = Animated;@@ -250,6 +251,7 @@ const MergeEditor = () => {updateEvent({type: Actions.NOTES});updateEvent({type: Actions.FAVORITES});close();+ doInBackground(async () => {Sync.run()});};const show = async (item) => {