mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-17 13:29:17 +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() {
|
fun reset() {
|
||||||
val source = source ?: return
|
val source = source ?: return
|
||||||
state.filters = source.getFilterList()
|
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) {
|
fun search(query: String? = null, filters: FilterList? = null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user