1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Mobile: Moved 'New notebook' button to sidebar

This commit is contained in:
Laurent Cozic
2019-06-26 01:10:15 +01:00
parent 9957b2798c
commit 430a11282b
2 changed files with 25 additions and 25 deletions

View File

@@ -52,14 +52,6 @@ class ActionButtonComponent extends React.Component {
});
}
newFolder_press() {
this.props.dispatch({
type: 'NAV_GO',
routeName: 'Folder',
folderId: null,
});
}
render() {
let buttons = this.props.buttons ? this.props.buttons : [];
@@ -79,13 +71,6 @@ class ActionButtonComponent extends React.Component {
icon: 'md-document',
});
}
buttons.push({
title: _('New notebook'),
onPress: () => { this.newFolder_press() },
color: '#3498db',
icon: 'md-folder',
});
}
let buttonComps = [];