pull/1344/head
gedoor 3 years ago
parent 73f5285c09
commit 2349ea3de4
  1. 2
      app/src/main/java/io/legado/app/service/DownloadService.kt

@ -76,9 +76,11 @@ class DownloadService : BaseService() {
if (downloadId > 0) {
downloads[downloadId] = fileName
queryState()
if (upStateJob == null) {
checkDownloadState()
}
}
}
private fun checkDownloadState() {
upStateJob?.cancel()

Loading…
Cancel
Save