Skip to content

Commit e292e5b

Browse files
committed
chore: update example.
1 parent 9559099 commit e292e5b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

!examples/InAppPurchaseManager/InAppPurchaseManager/store.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ extension SubscriptionsManager {
134134

135135
if let expirationDate = transaction.expirationDate, product.type == .autoRenewable {
136136
// 更新 EntitlementManager 的 hasPro 属性
137-
hasPro = !isExpirationDate(expirationDate: expirationDate)
137+
hasPro = isExpirationDate(expirationDate: expirationDate)
138138
}
139139
}
140140

0 commit comments

Comments
 (0)