You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-06 09:19:22 +02:00
Mobile: Fixed issue when creating new notebook and going back
This commit is contained in:
@@ -71,7 +71,7 @@ class NotesScreenComponent extends BaseScreenComponent {
|
||||
};
|
||||
|
||||
this.backHandler = () => {
|
||||
if (this.dialogbox.state.isVisible) {
|
||||
if (this.dialogbox && this.dialogbox.state && this.dialogbox.state.isVisible) {
|
||||
this.dialogbox.close();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user