Skip to content

Commit

Permalink
Paywalls: removed unnecessary PaywallFooterView (#3064)
Browse files Browse the repository at this point in the history
Since this is no longer `public`, it was just duplicating all the API
surface area of `PaywallView` in an unnecessary way. This became clear
in #3046 when a lot of the same changes had to be made in both view
types.
  • Loading branch information
NachoSoto committed Sep 6, 2023
1 parent 06f2758 commit b23f1dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 91 deletions.
89 changes: 0 additions & 89 deletions RevenueCatUI/PaywallFooterView.swift

This file was deleted.

4 changes: 2 additions & 2 deletions RevenueCatUI/View+PresentPaywallFooter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ private struct PresentingPaywallFooterModifier: ViewModifier {
func body(content: Content) -> some View {
content
.safeAreaInset(edge: .bottom) {
PaywallFooterView(
PaywallView(
offering: self.offering,
condensed: self.condensed,
mode: self.condensed ? .condensedFooter : .footer,
fonts: self.fontProvider,
introEligibility: self.introEligibility ?? .default(),
purchaseHandler: self.purchaseHandler ?? .default()
Expand Down

0 comments on commit b23f1dd

Please sign in to comment.