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

This commit is contained in:
stevenyomi 2023-06-30 10:39:43 +08:00 committed by GitHub
parent 2a7cca6ea4
commit bb3fdef40b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,7 +150,7 @@ class BrowseSourceScreenModel(
}
fun setListing(listing: Listing) {
mutableState.update { it.copy(listing = listing) }
mutableState.update { it.copy(listing = listing, toolbarQuery = null) }
}
fun setFilters(filters: FilterList) {