Fix IA Converter

This commit is contained in:
Leon Böttger committed 2025-03-01 18:06:57 +01:00
1 parent 4929a96134
commit 406f1ab78b
1 file changed
+2 -2
+2 -2
View File
@@ -8,7 +8,7 @@ import StoreKit
class IAPConverter: NSObject, SKRequestDelegate {
let switchToIAPAfterBundleVersion = "6"
let switchToIAPAfterAppVersion = "1.2"
static let shared = IAPConverter()
@@ -27,7 +27,7 @@ class IAPConverter: NSObject, SKRequestDelegate {
if case .verified(let appTransaction) = shared {
let originalVersion = appTransaction.originalAppVersion
let newModelVersion = switchToIAPAfterBundleVersion
let newModelVersion = switchToIAPAfterAppVersion
log("[LUI] Original Purchased Version: \(originalVersion) | New Model Version: \(newModelVersion)")
if originalVersion.compare(newModelVersion, options: .numeric) == .orderedAscending {