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