Skip to content

Commit 553c584

Browse files
committed
fix: opt PR
1 parent f401185 commit 553c584

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appupdate/src/main/java/com/azhon/appupdate/service/DownloadService.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ class DownloadService : Service(), OnDownloadListener {
7474
* Check whether the Apk has been downloaded, don't download again
7575
*/
7676
private fun checkApkMd5(): Boolean {
77-
if (manager.apkMD5.isNullOrBlank()) {
78-
return false;
77+
if (manager.apkMD5.isBlank()) {
78+
return false
7979
}
8080
val file = File(manager.downloadPath, manager.apkName)
8181
if (file.exists()) {

0 commit comments

Comments
 (0)