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
@ -59,8 +59,9 @@ class PatchesSelectorViewModel extends BaseViewModel {
|
|||||||
|
|
||||||
bool isSelected(Patch patch) {
|
bool isSelected(Patch patch) {
|
||||||
return selectedPatches.any(
|
return selectedPatches.any(
|
||||||
(element) => element.name == patch.name,
|
(element) => element.name == patch.name,
|
||||||
);
|
) ||
|
||||||
|
(isPatchNew(patch) && !patch.excluded);
|
||||||
}
|
}
|
||||||
|
|
||||||
void navigateToPatchOptions(List<Option> setOptions, Patch patch) {
|
void navigateToPatchOptions(List<Option> setOptions, Patch patch) {
|
||||||
|
Loading…
Reference in New Issue
Block a user