mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 06:01:49 +01:00
Fix resetting filter resets browse pager (#8394)
Fix resetinf filter resets browse pager
This commit is contained in:
parent
ebb96a6ff4
commit
afcf4b2988
@ -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 New Issue
Block a user