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