fix: Reset progress if patch was cancelled

This commit is contained in:
oSumAtrIX 2023-12-23 22:19:56 +01:00
parent ca95e32164
commit 850bdc4a4d
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -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;