|
|
@ -216,7 +216,7 @@ object CacheBook { |
|
|
|
} |
|
|
|
} |
|
|
|
val chapter = appDb.bookChapterDao.getChapter(book.bookUrl, chapterIndex) ?: let { |
|
|
|
val chapter = appDb.bookChapterDao.getChapter(book.bookUrl, chapterIndex) ?: let { |
|
|
|
waitDownloadSet.remove(chapterIndex) |
|
|
|
waitDownloadSet.remove(chapterIndex) |
|
|
|
return@download false |
|
|
|
return false |
|
|
|
} |
|
|
|
} |
|
|
|
if (BookHelp.hasContent(book, chapter)) { |
|
|
|
if (BookHelp.hasContent(book, chapter)) { |
|
|
|
waitDownloadSet.remove(chapterIndex) |
|
|
|
waitDownloadSet.remove(chapterIndex) |
|
|
|