mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: Reset progress if patch was cancelled
This commit is contained in:
parent
ca95e32164
commit
850bdc4a4d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user