refactor: reorganize and rename settings (#1307)

Co-authored-by: Pun Butrach <pun.butrach@gmail.com>
Co-authored-by: Ushie <ushiekane@gmail.com>
This commit is contained in:
KobeW50
2023-10-15 05:56:02 -04:00
committed by GitHub
parent e960fcc303
commit 196d9fe4d2
20 changed files with 285 additions and 271 deletions

View File

@ -190,7 +190,7 @@ class PatcherViewModel extends BaseViewModel {
this.selectedPatches.clear();
this.selectedPatches.addAll(patches.where((patch) => !patch.excluded));
}
if (!_managerAPI.areExperimentalPatchesEnabled()) {
if (!_managerAPI.isVersionCompatibilityCheckEnabled()) {
this.selectedPatches.removeWhere((patch) => !isPatchSupported(patch));
}
if (!_managerAPI.areUniversalPatchesEnabled()) {