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 mahee96
parent c8127fb3b9
commit 1e64f50ab9

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
}