Hide paywall in beta
This commit is contained in:
parent
f8773cacf1
commit
5da84194a9
|
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue