Skip to content

Commit

Permalink
Add a Future return to _showErrorDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
g123k committed Jul 17, 2023
1 parent fdc435c commit 6444246
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/smooth_app/lib/pages/crop_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -504,10 +504,10 @@ class _CropPageState extends State<CropPage> {
}
}

void _showErrorDialog() {
Future<void> _showErrorDialog() {
final AppLocalizations appLocalizations = AppLocalizations.of(context);

showDialog<void>(
return showDialog<void>(
context: context,
builder: (BuildContext context) {
return SmoothSimpleErrorAlertDialog(
Expand Down

0 comments on commit 6444246

Please sign in to comment.