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
check if note is locked before closing
ammarahm-edd957e9552432
diff --git a/apps/mobile/src/components/ActionSheetComponent/index.js b/apps/mobile/src/components/ActionSheetComponent/index.jsindex eede77a45..210d3282e 100644--- a/apps/mobile/src/components/ActionSheetComponent/index.js+++ b/apps/mobile/src/components/ActionSheetComponent/index.js@@ -447,7 +447,10 @@ export const ActionSheetComponent = ({db.vault.add(note.id).then((r) => {- close();+ let n = db.notes.note(note.id).data;+ if (n.locked) {+ close();+ }sendNoteEditedEvent(note.id, false, true);localRefresh(note.type);})