BrowseSourceController: Fix broken page after opening manga (#7608)

Probably related to 788583e66f
This commit is contained in:
Ivan Iskandar 2022-07-25 19:32:11 +07:00 committed by GitHub
parent 73901f50c0
commit 1c8da5fa97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -141,6 +141,8 @@ open class BrowseSourceController(bundle: Bundle) :
setupRecycler(view) setupRecycler(view)
binding.progress.isVisible = true binding.progress.isVisible = true
presenter.restartPager()
} }
open fun initFilterSheet() { open fun initFilterSheet() {

View File

@ -132,8 +132,6 @@ open class BrowseSourcePresenter(
if (savedState != null) { if (savedState != null) {
query = savedState.getString(::query.name, "") query = savedState.getString(::query.name, "")
} }
restartPager()
} }
override fun onSave(state: Bundle) { override fun onSave(state: Bundle) {