Fix resetting filter resets browse pager (#8394)
Fix resetinf filter resets browse pager (cherry picked from commit afcf4b298863ae0537c8b32420bf75670be94dd2)
This commit is contained in:
parent
36a01d8144
commit
0535c98b37
1 changed files with 0 additions and 2 deletions
|
|
@ -211,8 +211,6 @@ open class BrowseSourcePresenter(
|
|||
fun reset() {
|
||||
val source = source ?: return
|
||||
state.filters = source.getFilterList()
|
||||
if (currentFilter !is Filter.UserInput) return
|
||||
state.currentFilter = (currentFilter as Filter.UserInput).copy(filters = state.filters)
|
||||
}
|
||||
|
||||
fun search(query: String? = null, filters: FilterList? = null) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue