Browse Source: clear search query when changing listing (#9652)

(cherry picked from commit bb3fdef40bebae7fcb3defe089c65008542bddbd)
This commit is contained in:
stevenyomi 2023-06-30 10:39:43 +08:00 committed by Jobobby04
parent 137a205f4b
commit ed64e296af

View File

@ -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) {