Skip to content

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

mobile: fix publish note with password not working

ammarahm-ed50f84780bb4b
diff --git a/apps/mobile/app/components/sheets/publish-note/index.js b/apps/mobile/app/components/sheets/publish-note/index.js
index 9320033d7..4756cc9d7 100644
--- a/apps/mobile/app/components/sheets/publish-note/index.js
+++ b/apps/mobile/app/components/sheets/publish-note/index.js
@@ -60,7 +60,7 @@ const PublishNoteSheet = ({ note: item, update }) => {
if (isLocked && !passwordValue) return;
await db.monographs.publish(note.id, {
selfDestruct: selfDestruct,
- password: isLocked && passwordValue
+ password: isLocked && passwordValue.current
});
setNote(db.notes.note(note.id)?.data);
Navigation.queueRoutesForUpdate(