1
0
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:
Laurent Cozic 2020-08-07 02:03:33 +00:00
parent 3253146dae
commit 29fbafdfff

View File

@ -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;
}