1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Mobile: Edit and delete notebooks by long-pressing them, and removed context menu on note lists

This commit is contained in:
Laurent Cozic
2019-06-26 18:28:09 +01:00
parent e7e0264411
commit d96c58d192
3 changed files with 61 additions and 7 deletions

View File

@ -155,8 +155,8 @@ class NotesScreenComponent extends BaseScreenComponent {
if (!folder) return [];
let output = [];
if (!folder.encryption_applied) output.push({ title: _('Edit notebook'), onPress: () => { this.editFolder_onPress(this.props.selectedFolderId); } });
output.push({ title: _('Delete notebook'), onPress: () => { this.deleteFolder_onPress(this.props.selectedFolderId); } });
// if (!folder.encryption_applied) output.push({ title: _('Edit notebook'), onPress: () => { this.editFolder_onPress(this.props.selectedFolderId); } });
// output.push({ title: _('Delete notebook'), onPress: () => { this.deleteFolder_onPress(this.props.selectedFolderId); } });
return output;
} else {