mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-11 05:36:17 +00:00
perf: Do not load patches twice
This commit is contained in:
@@ -95,6 +95,8 @@ class InstallerViewModel extends BaseViewModel {
|
||||
isInstalled = false;
|
||||
hasErrors = false;
|
||||
} else if (value == 1.0) {
|
||||
_managerAPI.patches.clear();
|
||||
|
||||
isPatching = false;
|
||||
hasErrors = false;
|
||||
await _managerAPI.savePatches(
|
||||
|
||||
Reference in New Issue
Block a user