Skip to content

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

fix: pressing on check item does not add notebook

ammarahm-ed5b0ea8a84354
diff --git a/apps/mobile/src/components/CustomTabs/index.js b/apps/mobile/src/components/CustomTabs/index.js
index 475c7d4a7..9dbaad967 100644
--- a/apps/mobile/src/components/CustomTabs/index.js
+++ b/apps/mobile/src/components/CustomTabs/index.js
@@ -76,7 +76,6 @@ export default class CustomTabs extends Component {
closeDrawer = () => {
if (this.page === 0) {
- console.log('CLOSING DRAWER');
this.goToIndex(1);
this.currentDrawerState = false;
this.props.onDrawerStateChange &&
diff --git a/apps/mobile/src/components/MoveNoteDialog/index.js b/apps/mobile/src/components/MoveNoteDialog/index.js
index 1bd3b2bf6..a2dc16e72 100644
--- a/apps/mobile/src/components/MoveNoteDialog/index.js
+++ b/apps/mobile/src/components/MoveNoteDialog/index.js
@@ -289,7 +289,8 @@ const MoveNoteComponent = ({close, note, setNote}) => {
}}
button={{
icon: 'check',
- color: notebookInputFocused ? colors.accent : colors.icon
+ color: notebookInputFocused ? colors.accent : colors.icon,
+ onPress:addNewNotebook
}}
onSubmit={addNewNotebook}
placeholder="Create a new notebook"