mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -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