From 12dfad24324be735dad7b49b3a6480c1f3ddc547 Mon Sep 17 00:00:00 2001 From: Jay Date: Wed, 22 Apr 2020 01:48:47 -0400 Subject: [PATCH] Fixed manga details being blank --- .../eu/kanade/tachiyomi/ui/manga/MangaDetailsController.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsController.kt index 231c5b00ad..f05cc17f2a 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsController.kt @@ -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) {