mirror of
https://github.com/gedoor/legado.git
synced 2025-01-08 11:47:32 +08:00
优化
This commit is contained in:
parent
4b741f168d
commit
0fd8054963
@ -267,7 +267,7 @@ object CacheBook {
|
||||
waitDownloadSet.remove(chapterIndex)
|
||||
onDownloadSet.add(chapterIndex)
|
||||
if (BookHelp.hasContent(book, chapter)) {
|
||||
Coroutine.async(executeContext = context) {
|
||||
Coroutine.async(scope, context, executeContext = context) {
|
||||
BookHelp.getContent(book, chapter)?.let {
|
||||
BookHelp.saveImages(bookSource, book, chapter, it, 1)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user