Add redeem code button to subscription store

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-03-17 23:11:09 -05:00
parent 0f128da154
commit 751369bca2

View File

@@ -32,7 +32,7 @@ struct ReflectSubscriptionStoreView: View {
marketingContent
}
.subscriptionStoreControlStyle(.prominentPicker)
.storeButton(.visible, for: .restorePurchases)
.storeButton(.visible, for: .restorePurchases, .redeemCode)
.subscriptionStoreButtonLabel(.multiline)
.tint(tintColor)
.overlay(alignment: .topTrailing) {