mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 02:18:50 +01:00
Fix dialog not popped correctly
This commit is contained in:
parent
39f356e0a1
commit
6d25f47412
1 changed files with 3 additions and 1 deletions
|
@ -192,7 +192,9 @@ class _WrappedNewCollectionDialogState
|
|||
content: Text(exception_util.toUserString(e)),
|
||||
duration: k.snackBarDurationNormal,
|
||||
));
|
||||
Navigator.of(context).pop();
|
||||
Navigator.of(context)
|
||||
..pop()
|
||||
..pop();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue