Skip to content

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

always fetch update note

ammarahm-ed30e847afd5ce
diff --git a/apps/mobile/src/views/Editor/EditorHeader.js b/apps/mobile/src/views/Editor/EditorHeader.js
index c118fda01..da1af6e50 100644
--- a/apps/mobile/src/views/Editor/EditorHeader.js
+++ b/apps/mobile/src/views/Editor/EditorHeader.js
@@ -20,6 +20,7 @@ import {
import Navigation from '../../services/Navigation';
import {editing} from '../../utils';
import {exitEditorAnimation} from '../../utils/Animations';
+import { db } from '../../utils/DB';
import {
eClearEditor,
eCloseFullscreenEditor,
@@ -239,8 +240,9 @@ const EditorHeader = () => {
marginLeft: 10,
}}
onPress={() => {
+ let note = getNote() && db.notes.note(getNote().id).data
ActionSheetEvent(
- getNote(),
+ note,
true,
true,
['Add to', 'Share', 'Export', 'Delete'],