Skip to content

Commit

Permalink
fix: Reset progress if patch was cancelled
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Dec 23, 2023
1 parent ca95e32 commit 850bdc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ui/views/installer/installer_viewmodel.dart
Expand Up @@ -115,6 +115,7 @@ class InstallerViewModel extends BaseViewModel {
} else if (value == -100.0) {
isPatching = false;
hasErrors = true;
progress = 0.0;
}
if (header.isNotEmpty) {
headerLogs = header;
Expand Down

0 comments on commit 850bdc4

Please sign in to comment.