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: ensure that overlay gets hidden when entering foreground
ammarahm-ed39d74e80a90f
diff --git a/apps/mobile/app/hooks/use-app-events.js b/apps/mobile/app/hooks/use-app-events.jsindex c580168a7..7f7158e20 100644--- a/apps/mobile/app/hooks/use-app-events.js+++ b/apps/mobile/app/hooks/use-app-events.js@@ -571,8 +571,8 @@ export const useAppEvents = () => {if (notesAddedFromIntent || shareExtensionOpened) {let id = useEditorStore.getState().currentEditingNote;let note = id && db.notes.note(id).data;- eSendEvent("loadingNote", note);eSendEvent("webview_reset");+ setTimeout(() => eSendEvent("loadingNote", note), 1);MMKV.removeItem("shareExtensionOpened");}} catch (e) {diff --git a/apps/mobile/app/screens/editor/tiptap/use-editor.ts b/apps/mobile/app/screens/editor/tiptap/use-editor.tsindex c2cb56604..9e31d3692 100644--- a/apps/mobile/app/screens/editor/tiptap/use-editor.ts+++ b/apps/mobile/app/screens/editor/tiptap/use-editor.ts@@ -635,6 +635,7 @@ export const useEditor = (saveContent,onContentChanged,editorId: editorId,- markImageLoaded+ markImageLoaded,+ overlay};};diff --git a/apps/mobile/app/screens/editor/wrapper.js b/apps/mobile/app/screens/editor/wrapper.jsindex 6b30acc11..b2671720a 100644--- a/apps/mobile/app/screens/editor/wrapper.js+++ b/apps/mobile/app/screens/editor/wrapper.js@@ -51,6 +51,7 @@ export const EditorWrapper = ({ width }) => {if (editorState().movedAway) return;if (state === "active") {editorController.current.onReady();+ editorController.current.overlay(false);}};