Browse Source: clear search query when changing listing (#9652)
This commit is contained in:
parent
2a7cca6ea4
commit
bb3fdef40b
@ -150,7 +150,7 @@ class BrowseSourceScreenModel(
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun setListing(listing: Listing) {
|
fun setListing(listing: Listing) {
|
||||||
mutableState.update { it.copy(listing = listing) }
|
mutableState.update { it.copy(listing = listing, toolbarQuery = null) }
|
||||||
}
|
}
|
||||||
|
|
||||||
fun setFilters(filters: FilterList) {
|
fun setFilters(filters: FilterList) {
|
||||||
|
Loading…
Reference in New Issue
Block a user