|
@@ -267,7 +267,7 @@ object CacheBook {
|
|
|
waitDownloadSet.remove(chapterIndex)
|
|
waitDownloadSet.remove(chapterIndex)
|
|
|
onDownloadSet.add(chapterIndex)
|
|
onDownloadSet.add(chapterIndex)
|
|
|
if (BookHelp.hasContent(book, chapter)) {
|
|
if (BookHelp.hasContent(book, chapter)) {
|
|
|
- Coroutine.async(executeContext = context) {
|
|
|
|
|
|
|
+ Coroutine.async(scope, context, executeContext = context) {
|
|
|
BookHelp.getContent(book, chapter)?.let {
|
|
BookHelp.getContent(book, chapter)?.let {
|
|
|
BookHelp.saveImages(bookSource, book, chapter, it, 1)
|
|
BookHelp.saveImages(bookSource, book, chapter, it, 1)
|
|
|
}
|
|
}
|