Fixed manga details being blank
This commit is contained in:
parent
aab4e7fe5a
commit
12dfad2432
1 changed files with 1 additions and 2 deletions
|
@ -200,12 +200,12 @@ class MangaDetailsController : BaseController,
|
||||||
super.onViewCreated(view)
|
super.onViewCreated(view)
|
||||||
coverColor = null
|
coverColor = null
|
||||||
|
|
||||||
presenter.onCreate()
|
|
||||||
setTabletMode(view)
|
setTabletMode(view)
|
||||||
setRecycler(view)
|
setRecycler(view)
|
||||||
setPaletteColor()
|
setPaletteColor()
|
||||||
setFastScroller()
|
setFastScroller()
|
||||||
|
|
||||||
|
presenter.onCreate()
|
||||||
swipe_refresh.isRefreshing = presenter.isLoading
|
swipe_refresh.isRefreshing = presenter.isLoading
|
||||||
if (manga?.initialized != true)
|
if (manga?.initialized != true)
|
||||||
swipe_refresh.post { swipe_refresh.isRefreshing = true }
|
swipe_refresh.post { swipe_refresh.isRefreshing = true }
|
||||||
|
@ -553,7 +553,6 @@ class MangaDetailsController : BaseController,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
override fun onChangeStarted(handler: ControllerChangeHandler, type: ControllerChangeType) {
|
override fun onChangeStarted(handler: ControllerChangeHandler, type: ControllerChangeType) {
|
||||||
super.onChangeStarted(handler, type)
|
super.onChangeStarted(handler, type)
|
||||||
if (type == ControllerChangeType.PUSH_ENTER || type == ControllerChangeType.POP_ENTER) {
|
if (type == ControllerChangeType.PUSH_ENTER || type == ControllerChangeType.POP_ENTER) {
|
||||||
|
|
Reference in a new issue