This commit is contained in:
陈君陶
2023-09-20 10:42:45 +08:00
parent db5b09cc11
commit 55521e6f29

View File

@ -191,12 +191,14 @@ class DownloadDialog : BaseDraggableDialogFragment() {
break
} else {
// 插件集合列表中存在需要自动下载的插件
apkCollection.saveApkEntity?.forEach { entity ->
if (entity.getPlatformName() == platformName || entity.packageName == packageName) {
scrollAndDownload(recyclerView, false, i)
}
val matched = apkCollection.saveApkEntity?.any { entity ->
entity.getPlatformName() == platformName || entity.packageName == packageName
}
if (matched == true) {
scrollAndDownload(recyclerView, false, i)
break
}
break
}
}
// 自动下载符合条件的插件