[FIX] Dialog return result
This commit is contained in:
@@ -27,7 +27,7 @@ class AstromicDialogHelper {
|
|||||||
|
|
||||||
if (shouldPop) {
|
if (shouldPop) {
|
||||||
// ignore: use_build_context_synchronously
|
// ignore: use_build_context_synchronously
|
||||||
Navigator.of(modalContext).pop();
|
Navigator.of(modalContext).pop(result);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
child: Dialog(
|
child: Dialog(
|
||||||
|
|||||||
Reference in New Issue
Block a user