Skip to content

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

fix crash

ammarahm-ed7a352cb38f51
diff --git a/apps/mobile/src/components/AddNotebookDialog/index.js b/apps/mobile/src/components/AddNotebookDialog/index.js
index 247877065..59ffc2161 100644
--- a/apps/mobile/src/components/AddNotebookDialog/index.js
+++ b/apps/mobile/src/components/AddNotebookDialog/index.js
@@ -139,7 +139,7 @@ export class AddNotebookDialog extends React.Component {
this.close();
updateEvent({type: ACTIONS.NOTEBOOKS});
- ToastEvent.show('New notebook added', 'success', 3000, () => {}, '');
+ ToastEvent.show('New notebook added', 'success', 'local');
}, 100);
};