1.1.2 (47): fix subscription purchase button fallback
Remove legacy CONSUMABLE fallback from monthlyProduct — when the subscription fails to load, the UI now shows the retry state instead of silently offering the legacy one-time product for purchase. Legacy purchasers retain access via hasActiveSubscription() as before. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -120,13 +120,7 @@ final class StoreManager: ObservableObject {
|
||||
if let match = products.first(where: { $0.id == Self.monthlyProductId && $0.type == .autoRenewable }) {
|
||||
return match
|
||||
}
|
||||
if let match = products.first(where: { $0.type == .autoRenewable }) {
|
||||
return match
|
||||
}
|
||||
if let match = products.first(where: { $0.id == Self.legacyOneTimeProductId }) {
|
||||
return match
|
||||
}
|
||||
return products.first
|
||||
return products.first(where: { $0.type == .autoRenewable })
|
||||
}
|
||||
|
||||
var debugProductIds: [String] { productIds }
|
||||
|
||||
Reference in New Issue
Block a user