Skip to content

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

refresh notebooks on moving a note

ammarahm-ed11cc3d5bbb13
diff --git a/apps/mobile/src/components/MoveNoteDialog/index.js b/apps/mobile/src/components/MoveNoteDialog/index.js
index 70b18d550..d413d2765 100644
--- a/apps/mobile/src/components/MoveNoteDialog/index.js
+++ b/apps/mobile/src/components/MoveNoteDialog/index.js
@@ -369,6 +369,8 @@ const MoveNoteDialog = () => {
);
console.log(res);
dispatch({type: ACTIONS.CLEAR_SELECTION});
+ dispatch({type: ACTIONS.NOTEBOOKS});
+ dispatch({type: ACTIONS.PINNED});
close();
let notebookName = db.notebooks.notebook(
item.notebookId,