Browse Source: clear search query when changing listing (#9652)
(cherry picked from commit bb3fdef40bebae7fcb3defe089c65008542bddbd)
This commit is contained in:
parent
137a205f4b
commit
ed64e296af
@ -249,7 +249,7 @@ open class BrowseSourceScreenModel(
|
||||
}
|
||||
|
||||
fun setListing(listing: Listing) {
|
||||
mutableState.update { it.copy(listing = listing) }
|
||||
mutableState.update { it.copy(listing = listing, toolbarQuery = null) }
|
||||
}
|
||||
|
||||
fun setFilters(filters: FilterList) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user