mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-04-30 14:04:26 +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…
x
Reference in New Issue
Block a user