fix(patches-selector): New tag showing for old patches (#1113)

This commit is contained in:
aAbed
2023-08-10 01:16:37 +05:45
committed by GitHub
parent fd741f2ccf
commit ea05d13a1f

View File

@@ -117,7 +117,7 @@ class PatchesSelectorViewModel extends BaseViewModel {
return false; return false;
} else { } else {
return !savedPatches return !savedPatches
.any((p) => p.name == patch.name.toLowerCase().replaceAll(' ', '-')); .any((p) => p.getSimpleName() == patch.getSimpleName());
} }
} }