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
fix incorrect note title shown while loading
ammarahm-ed3b4b4ee61a1d
diff --git a/apps/mobile/src/views/Editor/EditorOverlay.js b/apps/mobile/src/views/Editor/EditorOverlay.jsindex 2b709c43c..f50b0d355 100644--- a/apps/mobile/src/views/Editor/EditorOverlay.js+++ b/apps/mobile/src/views/Editor/EditorOverlay.js@@ -27,8 +27,8 @@ const EditorOverlay = () => {clearTimeout(timer);clearTimeout(timerError);setProgress(2);+ setLoading(_loading);if (_loading) {- setLoading(_loading);timerError = setTimeout(() => {setError(true);}, 4000);@@ -44,7 +44,7 @@ const EditorOverlay = () => {await sleep(150);setProgress(1);opacity.setValue(1);- setLoading(false);+ setLoading(null);clearTimeout(timer);clearTimeout(timerError);});diff --git a/apps/mobile/src/views/Editor/index.js b/apps/mobile/src/views/Editor/index.jsindex fc9cc2784..082188c98 100755--- a/apps/mobile/src/views/Editor/index.js+++ b/apps/mobile/src/views/Editor/index.js@@ -49,7 +49,7 @@ const Editor = React.memo(};const onResetRequested = async (noload) => {- !noload && eSendEvent('loadingNote', getNote()?.id ? getNote() : {});+setResetting(true);await sleep(30);setResetting(false);