- Store: Reverted localized version for Store and version to be independent

This commit is contained in:
Magesh K
2025-02-08 13:11:27 +05:30
parent 61086a681a
commit 77833c6ffc
8 changed files with 128 additions and 164 deletions

View File

@@ -37,7 +37,7 @@ fileprivate extension NSManagedObject
}
var storeAppSize: NSNumber? {
let size = self.value(forKey: #keyPath(StoreApp.size)) as? NSNumber
let size = self.value(forKey: #keyPath(StoreApp._size)) as? NSNumber
return size
}
@@ -66,7 +66,7 @@ fileprivate extension NSManagedObject
let appVersion = NSEntityDescription.insertNewObject(forEntityName: AppVersion.entity().name!, into: context)
appVersion.setValue(version, forKey: #keyPath(AppVersion.version))
appVersion.setValue(date, forKey: #keyPath(AppVersion.date))
appVersion.setValue(localizedDescription, forKey: #keyPath(AppVersion._localizedDescription))
appVersion.setValue(localizedDescription, forKey: #keyPath(AppVersion.localizedDescription))
appVersion.setValue(downloadURL, forKey: #keyPath(AppVersion.downloadURL))
appVersion.setValue(size, forKey: #keyPath(AppVersion.size))
appVersion.setValue(appBundleID, forKey: #keyPath(AppVersion.appBundleID))