mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix(patches-selector): New
tag showing for old patches (#1113)
This commit is contained in:
parent
fd741f2ccf
commit
ea05d13a1f
@ -117,7 +117,7 @@ class PatchesSelectorViewModel extends BaseViewModel {
|
||||
return false;
|
||||
} else {
|
||||
return !savedPatches
|
||||
.any((p) => p.name == patch.name.toLowerCase().replaceAll(' ', '-'));
|
||||
.any((p) => p.getSimpleName() == patch.getSimpleName());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user