diff --git a/packages/smooth_app/lib/pages/crop_page.dart b/packages/smooth_app/lib/pages/crop_page.dart index e7943ad0d99..599c9636f42 100644 --- a/packages/smooth_app/lib/pages/crop_page.dart +++ b/packages/smooth_app/lib/pages/crop_page.dart @@ -504,10 +504,10 @@ class _CropPageState extends State { } } - void _showErrorDialog() { + Future _showErrorDialog() { final AppLocalizations appLocalizations = AppLocalizations.of(context); - showDialog( + return showDialog( context: context, builder: (BuildContext context) { return SmoothSimpleErrorAlertDialog(