|
|
@ -85,7 +85,6 @@ class CacheBookService : BaseService() { |
|
|
|
execute { |
|
|
|
execute { |
|
|
|
val cacheBook = CacheBook.getOrCreate(bookUrl) ?: return@execute |
|
|
|
val cacheBook = CacheBook.getOrCreate(bookUrl) ?: return@execute |
|
|
|
cacheBook.addDownload(start, end) |
|
|
|
cacheBook.addDownload(start, end) |
|
|
|
postEvent(EventBus.UP_DOWNLOAD, "") |
|
|
|
|
|
|
|
upNotification(CacheBook.downloadSummary) |
|
|
|
upNotification(CacheBook.downloadSummary) |
|
|
|
if (downloadJob == null) { |
|
|
|
if (downloadJob == null) { |
|
|
|
download() |
|
|
|
download() |
|
|
|