mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-08 22:33:26 +01:00
fix: typo in hasUpdate comparison
Signed-off-by: Zero King <l2dy@icloud.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user