review fixes

This commit is contained in:
Funny-Pen-7005 2023-12-14 21:14:06 +05:30
parent a35163d5fb
commit e214dc19c3

View file

@ -326,13 +326,7 @@ class SearchFragment : Fragment() {
if (selectedSearchTypes.toSet() != list.toSet()) { if (selectedSearchTypes.toSet() != list.toSet()) {
selectedSearchTypes.clear() selectedSearchTypes.clear()
selectedSearchTypes.addAll(list) selectedSearchTypes.addAll(list)
bindChips( updateChips(binding?.tvtypesChipsScroll?.tvtypesChips, selectedSearchTypes)
binding?.tvtypesChipsScroll?.tvtypesChips,
selectedSearchTypes,
validAPIs.flatMap { api -> api.supportedTypes }.distinct()
) {
// This already handled in another bindChips. Do nothing here!
}
} }
} }