瀏覽代碼

MangaPresenter: Always fetch chapter from source if current chapter is empty (#7507)

Ivan Iskandar 2 年之前
父節點
當前提交
634ee86bbd
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt

+ 2 - 0
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()
                     }
                 }
         }