Skip to content

Commit

Permalink
Fix single equals typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeehut committed Aug 7, 2024
1 parent f42cbd4 commit 4a9e2b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/FreemiumKit/FreemiumKit.docc/SetupGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ Learn how to set up your app for our paywalls and live push notifications.
}
.paywall(isPresented: $showPaywall)
.onAppear {
if freemiumkit.purchasesLoaded, freemiumkit.purchasedTier = nil {
if freemiumkit.purchasesLoaded, freemiumkit.purchasedTier == nil {
showPaywall = true
}
}
.onChange(of: freemiumKit.purchasesLoaded) {
if freemiumkit.purchasesLoaded, freemiumkit.purchasedTier = nil {
if freemiumkit.purchasesLoaded, freemiumkit.purchasedTier == nil {
showPaywall = true
}
}
Expand Down

0 comments on commit 4a9e2b7

Please sign in to comment.