diff --git a/RevenueCatUI/Views/LoadingPaywallView.swift b/RevenueCatUI/Views/LoadingPaywallView.swift index b64249b072..9b7b0560ca 100644 --- a/RevenueCatUI/Views/LoadingPaywallView.swift +++ b/RevenueCatUI/Views/LoadingPaywallView.swift @@ -40,7 +40,7 @@ struct LoadingPaywallView: View { introEligibility: Self.introEligibility, purchaseHandler: Self.purchaseHandler ) - .disabled(true) + .allowsHitTesting(false) .redacted(reason: .placeholder) } diff --git a/RevenueCatUI/Views/PurchaseButton.swift b/RevenueCatUI/Views/PurchaseButton.swift index b078bd4f52..0517f24ca9 100644 --- a/RevenueCatUI/Views/PurchaseButton.swift +++ b/RevenueCatUI/Views/PurchaseButton.swift @@ -117,9 +117,6 @@ private struct PurchaseButtonLabel: View { @Environment(\.isEnabled) private var isEnabled - @Environment(\.redactionReasons.isEmpty) - private var isNotRedacted - var body: some View { IntroEligibilityStateView( textWithNoIntroOffer: self.package.localization.callToAction, @@ -135,7 +132,7 @@ private struct PurchaseButtonLabel: View { .padding() .hidden(if: !self.isEnabled) .overlay { - if !self.isEnabled && self.isNotRedacted { + if !self.isEnabled { ProgressView() .progressViewStyle(.circular) .tint(self.colors.callToActionForegroundColor)