Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: ios/chrome/browser/ui/payments/payment_request_coordinator.mm

Issue 2855183002: Use the form sheet presentation style for the Payment UI. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/payments/payment_request_coordinator.mm
diff --git a/ios/chrome/browser/ui/payments/payment_request_coordinator.mm b/ios/chrome/browser/ui/payments/payment_request_coordinator.mm
index f29242285850881bed195c29d376f48e4d27d368..991e2ee7f172243b0fd09b3203d01ee9fde47999 100644
--- a/ios/chrome/browser/ui/payments/payment_request_coordinator.mm
+++ b/ios/chrome/browser/ui/payments/payment_request_coordinator.mm
@@ -171,6 +171,10 @@ class FullCardRequester
_navigationController = [[UINavigationController alloc]
initWithRootViewController:_viewController];
+ [_navigationController
+ setModalPresentationStyle:UIModalPresentationFormSheet];
+ [_navigationController
+ setModalTransitionStyle:UIModalTransitionStyleCoverVertical];
[_navigationController setNavigationBarHidden:YES];
[[self baseViewController] presentViewController:_navigationController
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698