From 634ee86bbd022612d6fe69baf522b4a2223b506f Mon Sep 17 00:00:00 2001 From: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com> Date: Mon, 11 Jul 2022 01:29:52 +0700 Subject: [PATCH] MangaPresenter: Always fetch chapter from source if current chapter is empty (#7507) --- .../main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt index 850bc3cbb..96b235ed0 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt @@ -189,6 +189,8 @@ class MangaPresenter( if (!manga.initialized) { fetchAllFromSource(manualFetch = false) + } else if (chapterItems.isEmpty()) { + fetchChaptersFromSource() } } }