Skip to content

Commit

Permalink
static analysis fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Emre Esen authored and Emre Esen committed Mar 9, 2024
1 parent f3779f3 commit b384739
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/progress_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,9 @@ class ProgressDialog {
splashColor: Colors.transparent,
onTap: () {
close();
if (cancel.cancelClicked != null)
if (cancel.cancelClicked != null) {
cancel.cancelClicked!();
}
},
child: Image(
width: cancel.cancelImageSize,
Expand Down

0 comments on commit b384739

Please sign in to comment.