mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: Include new patches that are used by default
This commit is contained in:
parent
1fad90441c
commit
7831a3438d
@ -60,7 +60,8 @@ class PatchesSelectorViewModel extends BaseViewModel {
|
||||
bool isSelected(Patch patch) {
|
||||
return selectedPatches.any(
|
||||
(element) => element.name == patch.name,
|
||||
);
|
||||
) ||
|
||||
(isPatchNew(patch) && !patch.excluded);
|
||||
}
|
||||
|
||||
void navigateToPatchOptions(List<Option> setOptions, Patch patch) {
|
||||
|
Loading…
Reference in New Issue
Block a user