Skip to content

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

close dialog

ammarahm-edcdc116249994
diff --git a/apps/mobile/src/components/ActionSheetComponent/index.js b/apps/mobile/src/components/ActionSheetComponent/index.js
index 62236d3d0..eede77a45 100644
--- a/apps/mobile/src/components/ActionSheetComponent/index.js
+++ b/apps/mobile/src/components/ActionSheetComponent/index.js
@@ -447,15 +447,11 @@ export const ActionSheetComponent = ({
db.vault
.add(note.id)
.then((r) => {
- console.log(r);
+ close();
sendNoteEditedEvent(note.id, false, true);
localRefresh(note.type);
- if (note.locked && PremiumService.get()) {
- close();
- }
})
.catch(async (e) => {
- console.log(e);
switch (e.message) {
case db.vault.ERRORS.noVault:
close('novault');