mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 16:31:50 +01:00
Fixed manga details being blank
This commit is contained in:
parent
aab4e7fe5a
commit
12dfad2432
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user