Skip to content

Commit 0098a91

Browse files
Afterpay header modal style overCurrentContext -> formSheet (#5785)
## Summary Use .formSheet instead of .overCurrentContext for afterpay modal before: https://github.com/user-attachments/assets/eb57954d-dae5-48a0-a6c7-016a16821bba after: https://github.com/user-attachments/assets/d68af196-2019-428f-aa59-d68404be326a ## Motivation - https://stripe.slack.com/archives/C09A34R23T4/p1760559196891749?thread_ts=1760381131.106909&cid=C09A34R23T4 - alignment with PMME ## Testing manual testing ## Changelog N/A
1 parent 3724810 commit 0098a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Views/AfterpayPriceBreakdownView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class AfterpayPriceBreakdownView: UIView {
7878
private func didTapInfoButton() {
7979
if let url = infoURL {
8080
let safariController = SFSafariViewController(url: url)
81-
safariController.modalPresentationStyle = .overCurrentContext
81+
safariController.modalPresentationStyle = .formSheet
8282
parentViewController?.present(safariController, animated: true)
8383
}
8484
}

0 commit comments

Comments
 (0)