Skip to content

Commit

Permalink
Fix paywalls tester build in main (#4565)
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaro authored Dec 10, 2024
1 parent a55a21d commit 14880e4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ struct APIKeyDashboardList: View {
// Need to wait for the paywall sheet to be dismissed before presenting again.
// We cannot modify the presented paywall in-place because the paywall components are
// cached in a @StateObject on initialization time.
#if DEBUG
await Task.sleep(seconds: 1)
#endif
self.presentedPaywall = .init(offering: offering, mode: .default)
}
}
Expand Down

0 comments on commit 14880e4

Please sign in to comment.