pull/1301/head
gedoor 3 years ago
parent 1e26647058
commit 8f57c5834b
  1. 2
      app/src/main/java/io/legado/app/model/CacheBook.kt

@ -162,7 +162,9 @@ class CacheBook(var bookSource: BookSource, var book: Book) {
synchronized(this) {
val chapterIndex = waitDownloadSet.firstOrNull()
if (chapterIndex == null) {
if (onDownloadSet.isEmpty()) {
cacheBookMap.remove(book.bookUrl)
}
return false
}
if (onDownloadSet.contains(chapterIndex)) {

Loading…
Cancel
Save