fix: Include new patches that are used by default

This commit is contained in:
oSumAtrIX 2023-12-12 02:32:57 +01:00
parent 1fad90441c
commit 7831a3438d
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -59,8 +59,9 @@ class PatchesSelectorViewModel extends BaseViewModel {
bool isSelected(Patch patch) {
return selectedPatches.any(
(element) => element.name == patch.name,
);
(element) => element.name == patch.name,
) ||
(isPatchNew(patch) && !patch.excluded);
}
void navigateToPatchOptions(List<Option> setOptions, Patch patch) {