Likely fix saved searches not clicking the right one
This commit is contained in:
parent
7581c8e519
commit
11c0cdfa78
@ -117,7 +117,7 @@ class SourceFilterSheet(
|
|||||||
}
|
}
|
||||||
val chips: MutableList<Chip> = mutableListOf()
|
val chips: MutableList<Chip> = mutableListOf()
|
||||||
|
|
||||||
searches.withIndex().sortedBy { it.value.name.toLowerCase() }.forEach { (index, search) ->
|
searches.withIndex().sortedBy { it.value.name }.forEach { (index, search) ->
|
||||||
val chip = Chip(context).apply {
|
val chip = Chip(context).apply {
|
||||||
text = search.name
|
text = search.name
|
||||||
setOnClickListener { onSavedSearchClicked(index) }
|
setOnClickListener { onSavedSearchClicked(index) }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user