Skip to content

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

fix copy note not working

ammarahm-edc4930f8150a0
diff --git a/apps/mobile/src/components/SelectionWrapper/actionstrip.js b/apps/mobile/src/components/SelectionWrapper/actionstrip.js
index ef91ed6de..868f42c7e 100644
--- a/apps/mobile/src/components/SelectionWrapper/actionstrip.js
+++ b/apps/mobile/src/components/SelectionWrapper/actionstrip.js
@@ -149,8 +149,7 @@ export const ActionStrip = ({ note, setActionStrip }) => {
description: 'Unlock note to copy to clipboard.'
});
} else {
- let delta = await db.notes.note(note.id).content();
- let text = toTXT(delta);
+ let text = toTXT(note);
text = `${note.title}\n \n ${text}`;
Clipboard.setString(text);
ToastEvent.show({