优化
This commit is contained in:
1 parent
2b94ed0605
commit
ff7f4f25dd
1 file changed
+2
-1
@@ -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!!
|
||||
|
||||
Reference in new issue
Block a user