Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix paywalls tester build in main #4565

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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