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