Skip to content

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

fix pinned notebook not update on editing.

ammarahm-ed48db13f3604e
diff --git a/apps/mobile/src/components/AddNotebookDialog/index.js b/apps/mobile/src/components/AddNotebookDialog/index.js
index 606ebb7e0..c16a440fb 100644
--- a/apps/mobile/src/components/AddNotebookDialog/index.js
+++ b/apps/mobile/src/components/AddNotebookDialog/index.js
@@ -139,6 +139,7 @@ export class AddNotebookDialog extends React.Component {
}
this.close();
updateEvent({type: ACTIONS.NOTEBOOKS});
+ updateEvent({type: ACTIONS.PINNED});
ToastEvent.show('New notebook added', 'success', 'local');
}, 100);