Horis 1 an în urmă
părinte
comite
ff7f4f25dd
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      app/src/main/java/io/legado/app/model/ReadManga.kt

+ 2 - 1
app/src/main/java/io/legado/app/model/ReadManga.kt

@@ -194,6 +194,7 @@ object ReadManga : CoroutineScope by MainScope() {
     }
 
     fun loadContent() {
+        clearMangaChapter()
         loadContent(durChapterIndex)
         loadContent(durChapterIndex - 1)
         loadContent(durChapterIndex + 1)
@@ -213,7 +214,7 @@ object ReadManga : CoroutineScope by MainScope() {
         }
     }
 
-    fun loadContent(index: Int) {
+    private fun loadContent(index: Int) {
         if (addLoading(index)) {
             Coroutine.async {
                 val book = book!!