Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

make closing note feel instant

ammarahm-ed3491e8d9d095
diff --git a/apps/mobile/src/views/Editor/EditorHeader.js b/apps/mobile/src/views/Editor/EditorHeader.js
index 384f60d39..55c4ee1bf 100644
--- a/apps/mobile/src/views/Editor/EditorHeader.js
+++ b/apps/mobile/src/views/Editor/EditorHeader.js
@@ -101,6 +101,7 @@ const EditorHeader = () => {
duration: 1500
});
}
+ useEditorStore.getState().setCurrentlyEditingNote(null);
await clearTimer(true);
setTimeout(async () => {
await clearEditor(false);