diff --git a/!examples/InAppPurchaseManager/InAppPurchaseManager.xcodeproj/project.xcworkspace/xcuserdata/wangchujiang.xcuserdatad/UserInterfaceState.xcuserstate b/!examples/InAppPurchaseManager/InAppPurchaseManager.xcodeproj/project.xcworkspace/xcuserdata/wangchujiang.xcuserdatad/UserInterfaceState.xcuserstate index b8fb6f8..e56ed46 100644 Binary files a/!examples/InAppPurchaseManager/InAppPurchaseManager.xcodeproj/project.xcworkspace/xcuserdata/wangchujiang.xcuserdatad/UserInterfaceState.xcuserstate and b/!examples/InAppPurchaseManager/InAppPurchaseManager.xcodeproj/project.xcworkspace/xcuserdata/wangchujiang.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/!examples/InAppPurchaseManager/InAppPurchaseManager/store.swift b/!examples/InAppPurchaseManager/InAppPurchaseManager/store.swift index f16253c..20a590c 100644 --- a/!examples/InAppPurchaseManager/InAppPurchaseManager/store.swift +++ b/!examples/InAppPurchaseManager/InAppPurchaseManager/store.swift @@ -134,7 +134,7 @@ extension SubscriptionsManager { if let expirationDate = transaction.expirationDate, product.type == .autoRenewable { // 更新 EntitlementManager 的 hasPro 属性 - hasPro = !isExpirationDate(expirationDate: expirationDate) + hasPro = isExpirationDate(expirationDate: expirationDate) } }