Hides app updates that don’t support device’s OS version

This commit is contained in:
Riley Testut
2022-11-16 14:11:11 -06:00
committed by Magesh K
parent f82743af98
commit 9f38601102
5 changed files with 32 additions and 16 deletions

View File

@@ -22,7 +22,7 @@ fileprivate extension NSManagedObject
}
var storeAppVersion: String? {
let version = self.value(forKey: #keyPath(StoreApp._version)) as? String
let version = self.value(forKey: #keyPath(StoreApp.latestVersionString)) as? String
return version
}