mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-27 08:16:36 +03:00
Fix resetting filter resets browse pager (#8394)
Fix resetinf filter resets browse pager
This commit is contained in:
parent
ebb96a6ff4
commit
afcf4b2988
1 changed files with 0 additions and 2 deletions
|
@ -156,8 +156,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