Skip to content

Commit

Permalink
修复已是最新版时更新对话框仍提示存在更新
Browse files Browse the repository at this point in the history
  • Loading branch information
aaa1115910 committed Dec 27, 2024
1 parent 47aff9c commit 2980a42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fun UpdateDialog(
val revision = latestReleaseBuild!!
.assets.first { it.name.startsWith("BV") }
.name.split("_")[1].toInt()
if (revision < BuildConfig.VERSION_CODE) {
if (revision <= BuildConfig.VERSION_CODE) {
updateStatus = UpdateStatus.NoAvailableUpdate
return@launch
}
Expand Down

0 comments on commit 2980a42

Please sign in to comment.