fix: typo in hasUpdate comparison

Signed-off-by: Zero King <l2dy@icloud.com>
This commit is contained in:
Zero King
2025-03-02 01:47:04 +08:00
committed by GitHub
parent 39d0835f5b
commit e85db67ac7

View File

@@ -141,7 +141,7 @@ public class InstalledApp: BaseEntity, InstalledAppProtocol
let latestVer = SemanticVersion("\(latestSemVer!.major).\(latestSemVer!.minor).\(latestSemVer!.patch)")
// Compare by major.minor.patch
if latestVer! > latestVer! {
if latestVer! > currentVer! {
return true
}