mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-05-01 22:34:25 +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) {
|
} else if (value == -100.0) {
|
||||||
isPatching = false;
|
isPatching = false;
|
||||||
hasErrors = true;
|
hasErrors = true;
|
||||||
|
progress = 0.0;
|
||||||
}
|
}
|
||||||
if (header.isNotEmpty) {
|
if (header.isNotEmpty) {
|
||||||
headerLogs = header;
|
headerLogs = header;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user