mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-11 13:46:17 +00:00
fix: reset patches after patching
This commit is contained in:
@@ -148,9 +148,8 @@ class InstallerViewModel extends BaseViewModel {
|
||||
|
||||
// Necessary to reset the state of patches by reloading them
|
||||
// in a later patching process.
|
||||
// TODO(Benjamin): Fix this not working
|
||||
_managerAPI.patches.clear();
|
||||
await _managerAPI.getPatches();
|
||||
await _patcherAPI.loadPatches();
|
||||
|
||||
try {
|
||||
if (FlutterBackground.isBackgroundExecutionEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user