Skip to content

Commit

Permalink
feat: 优化
Browse files Browse the repository at this point in the history
  • Loading branch information
gedoor committed May 4, 2020
1 parent 0b17971 commit 3b5b5e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/io/legado/app/service/DownloadService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class DownloadService : BaseService() {
private val handler = Handler()
private var runnable: Runnable = Runnable { upDownload() }
private val downloadMap = hashMapOf<String, LinkedHashSet<BookChapter>>()
private val downloadCount = hashMapOf<String, DownloadCount>();
private val downloadCount = hashMapOf<String, DownloadCount>()
private val finalMap = hashMapOf<String, LinkedHashSet<BookChapter>>()
private var notificationContent = "正在启动下载"

Expand Down Expand Up @@ -199,11 +199,11 @@ class DownloadService : BaseService() {
var successCount = 0 //下载成功的条目数量

fun increaseSuccess() {
++successCount;
++successCount
}

fun increaseFinished() {
++downloadFinishedCount;
++downloadFinishedCount
}
}
}

0 comments on commit 3b5b5e8

Please sign in to comment.