fix: reset patches after patching

This commit is contained in:
Benjamin Halko
2023-10-04 12:16:56 -07:00
parent b07439d402
commit cd07f39b69
2 changed files with 3 additions and 4 deletions

View File

@ -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) {