mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 04:37:37 +02: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