Hide paywall in beta

This commit is contained in:
Davide 2024-10-28 21:02:45 +01:00
parent f8773cacf1
commit 5da84194a9
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
1 changed files with 6 additions and 2 deletions

View File

@ -132,10 +132,14 @@ private extension ProviderContentModifier {
@ViewBuilder @ViewBuilder
var purchaseButton: some View { var purchaseButton: some View {
if let reason = iapManager.paywallReason(forFeature: .providers) { switch iapManager.paywallReason(forFeature: .providers) {
case .purchase(let appFeature):
Button(Strings.Providers.Picker.purchase) { Button(Strings.Providers.Picker.purchase) {
paywallReason = reason paywallReason = .purchase(appFeature)
} }
default:
EmptyView()
} }
} }