diff --git a/lib/src/dialog/dialog_helper.astromic.dart b/lib/src/dialog/dialog_helper.astromic.dart index 5f85dd7..0726159 100644 --- a/lib/src/dialog/dialog_helper.astromic.dart +++ b/lib/src/dialog/dialog_helper.astromic.dart @@ -27,7 +27,7 @@ class AstromicDialogHelper { if (shouldPop) { // ignore: use_build_context_synchronously - Navigator.of(modalContext).pop(); + Navigator.of(modalContext).pop(result); } }, child: Dialog(