This commit is contained in:
Horis
2025-03-07 17:52:40 +08:00
parent 2b94ed0605
commit ff7f4f25dd
@@ -194,6 +194,7 @@ object ReadManga : CoroutineScope by MainScope() {
} }
fun loadContent() { fun loadContent() {
clearMangaChapter()
loadContent(durChapterIndex) loadContent(durChapterIndex)
loadContent(durChapterIndex - 1) loadContent(durChapterIndex - 1)
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)) { if (addLoading(index)) {
Coroutine.async { Coroutine.async {
val book = book!! val book = book!!