Skip to content

Commit

Permalink
PaywallsTester: fix compilation (#3753)
Browse files Browse the repository at this point in the history
The changes in #3694
included a few parameters being passed to PaywallsTester that had the
wrong name, this addresses it
  • Loading branch information
aboedo committed Mar 12, 2024
1 parent 9c0d2b8 commit e6fe54e
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct UpsellView: View {
.padding()
.presentPaywallIfNeeded(
requiredEntitlementIdentifier: Configuration.entitlement,
purchaseStarted: {
purchaseStarted: { _ in
print("Purchase started")
},
purchaseCompleted: { _ in
Expand All @@ -31,17 +31,17 @@ struct UpsellView: View {
purchaseCancelled: {
print("Purchase cancelled")
},
onDismiss: {
print("Paywall dismissed")
restoreStarted: {
print("Restore started")
},
onRestoreCompleted: { _ in
restoreCompleted: { _ in
print("Restore completed")
},
onRestoreStarted: {
print("Restore started")
},
onRestoreFailure: {
restoreFailure: { _ in
print("Restore failed")
},
onDismiss: {
print("Paywall dismissed")
}
)
}
Expand Down

0 comments on commit e6fe54e

Please sign in to comment.