Skip to content

Commit 87d2122

Browse files
committed
bug修复
1 parent 23c049e commit 87d2122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

basemvvm/src/main/java/com/github2136/basemvvm/download/DownloadMultipleTask.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class DownloadMultipleTask(
7373
}
7474
//已下载
7575
callback?.invoke(DownloadUtil.STATE_BLOCK_SUCCESS, p, successCount.get(), fileCount, entry.key, path, null)
76-
if (successCount.get() == fileCount) {
76+
if (successCount.get() + failCount.get() == fileCount) {
7777
if (DownloadUtil.LOG_ENABLE) {
7878
Log.d(DownloadUtil.TAG, "多文件全部已存在")
7979
}

0 commit comments

Comments
 (0)