feat: 优化代码

pull/178/head
kunfei 5 years ago
parent 89386ef636
commit 917ad10d43
  1. 7
      app/src/main/java/io/legado/app/service/DownloadService.kt

@ -195,8 +195,11 @@ class DownloadService : BaseService() {
}
class DownloadCount{
@Volatile public var downloadFinishedCount = 0 // 下载完成的条目数量
@Volatile public var successCount = 0 //下载成功的条目数量
@Volatile
var downloadFinishedCount = 0 // 下载完成的条目数量
@Volatile
var successCount = 0 //下载成功的条目数量
fun increaseSuccess(){
++successCount;

Loading…
Cancel
Save