pull/1319/head
gedoor 3 years ago
parent 10c10b1229
commit 0694635439
  1. 4
      app/src/main/java/io/legado/app/model/CacheBook.kt

@ -149,7 +149,9 @@ class CacheBook(var bookSource: BookSource, var book: Book) {
@Synchronized
fun addDownload(start: Int, end: Int) {
for (i in start..end) {
waitDownloadSet.add(i)
if (!onDownloadSet.contains(i)) {
waitDownloadSet.add(i)
}
}
}

Loading…
Cancel
Save