mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-10 10:27:48 +01: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