From 2980a425efacc8ec8b2d91c1a7bc894239256ad3 Mon Sep 17 00:00:00 2001 From: aaa1115910 Date: Fri, 27 Dec 2024 22:16:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=B2=E6=98=AF=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E7=89=88=E6=97=B6=E6=9B=B4=E6=96=B0=E5=AF=B9=E8=AF=9D?= =?UTF-8?q?=E6=A1=86=E4=BB=8D=E6=8F=90=E7=A4=BA=E5=AD=98=E5=9C=A8=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/dev/aaa1115910/bv/component/settings/UpdateDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/dev/aaa1115910/bv/component/settings/UpdateDialog.kt b/app/src/main/kotlin/dev/aaa1115910/bv/component/settings/UpdateDialog.kt index 159d6176..8f4bda20 100644 --- a/app/src/main/kotlin/dev/aaa1115910/bv/component/settings/UpdateDialog.kt +++ b/app/src/main/kotlin/dev/aaa1115910/bv/component/settings/UpdateDialog.kt @@ -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 }