Skip to content

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoSoto committed Sep 11, 2023
1 parent 7dcfc31 commit 27ddfd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions RevenueCatUI/PaywallView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ struct LoadedOfferingPaywallView: View {
initialValue: .init(introEligibilityChecker: introEligibility)
)
self._purchaseHandler = .init(initialValue: purchaseHandler)

// Each `PaywallView` impression gets its own session.
// See also `updateSessionIfNeeded`.
self._session = .init(initialValue: (
lastPaywall: .init(offering: offering, paywall: paywall),
id: .init()
Expand Down

0 comments on commit 27ddfd2

Please sign in to comment.