Fixed manga details being blank

This commit is contained in:
Jay 2020-04-22 01:48:47 -04:00
parent aab4e7fe5a
commit 12dfad2432

View file

@ -200,12 +200,12 @@ class MangaDetailsController : BaseController,
super.onViewCreated(view)
coverColor = null
presenter.onCreate()
setTabletMode(view)
setRecycler(view)
setPaletteColor()
setFastScroller()
presenter.onCreate()
swipe_refresh.isRefreshing = presenter.isLoading
if (manga?.initialized != true)
swipe_refresh.post { swipe_refresh.isRefreshing = true }
@ -553,7 +553,6 @@ class MangaDetailsController : BaseController,
}
}
override fun onChangeStarted(handler: ControllerChangeHandler, type: ControllerChangeType) {
super.onChangeStarted(handler, type)
if (type == ControllerChangeType.PUSH_ENTER || type == ControllerChangeType.POP_ENTER) {