mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
Mobile: Fixed issue when creating new notebook and going back
This commit is contained in:
parent
3253146dae
commit
29fbafdfff
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user