mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Mobile: Fixes #139: Crash when creating new notebook
This commit is contained in:
parent
f45a4fff8b
commit
83398dd0bc
@ -96,6 +96,7 @@ class NotesScreenComponent extends BaseScreenComponent {
|
||||
if (this.props.selectedFolderId == Folder.conflictFolderId()) return [];
|
||||
|
||||
const folder = this.parentItem();
|
||||
if (!folder) return [];
|
||||
|
||||
let output = [];
|
||||
if (!folder.encryption_applied) output.push({ title: _('Edit notebook'), onPress: () => { this.editFolder_onPress(this.props.selectedFolderId); } });
|
||||
|
Loading…
Reference in New Issue
Block a user