feat: use default include property from patches

This commit is contained in:
Alberto Ponces
2022-08-21 02:58:40 +01:00
parent 8434211b61
commit e142a5aa19
5 changed files with 13 additions and 5 deletions

View File

@ -14,6 +14,11 @@ class PatchesSelectorViewModel extends BaseViewModel {
patches.addAll(await _patcherAPI.getFilteredPatches(
locator<PatcherViewModel>().selectedApp,
));
for (Patch p in patches) {
if (p.include) {
selectedPatches.add(p);
}
}
notifyListeners();
}