Skip to content

Commit

Permalink
Paywalls: don't dismiss footer paywalls automatically (#3683)
Browse files Browse the repository at this point in the history
Follow up to #3517.

This behavior is the default and not opt-in, and it doesn't make sense
on footer paywalls.
  • Loading branch information
NachoSoto authored Feb 13, 2024
1 parent 51b4a5a commit 9cc3a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RevenueCatUI/PaywallView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ struct LoadedOfferingPaywallView: View {
.onAppear { self.purchaseHandler.trackPaywallImpression(self.createEventData()) }
.onDisappear { self.purchaseHandler.trackPaywallClose() }
.onChangeOf(self.purchaseHandler.purchased) { purchased in
if purchased {
if self.mode.isFullScreen, purchased {
Logger.debug(Strings.dismissing_paywall)
self.dismiss()
}
Expand Down

0 comments on commit 9cc3a55

Please sign in to comment.