| Index: ios/chrome/browser/payments/payment_request_view_controller.mm
|
| diff --git a/ios/chrome/browser/payments/payment_request_view_controller.mm b/ios/chrome/browser/payments/payment_request_view_controller.mm
|
| index 3daa2ca472ee0432c34332bcc843dcd73cda01c0..7cee8a1d67ecb9b24bf845815196fb22e4abdff9 100644
|
| --- a/ios/chrome/browser/payments/payment_request_view_controller.mm
|
| +++ b/ios/chrome/browser/payments/payment_request_view_controller.mm
|
| @@ -42,8 +42,8 @@ using payment_request_util::NameLabelFromAutofillProfile;
|
| using payment_request_util::AddressLabelFromAutofillProfile;
|
| using payment_request_util::PhoneNumberLabelFromAutofillProfile;
|
|
|
| -NSString* const kPaymentRequestCollectionViewId =
|
| - @"kPaymentRequestCollectionViewId";
|
| +NSString* const kPaymentRequestCollectionViewID =
|
| + @"kPaymentRequestCollectionViewID";
|
|
|
| namespace {
|
|
|
| @@ -113,7 +113,7 @@ typedef NS_ENUM(NSInteger, ItemType) {
|
|
|
| [self setTitle:l10n_util::GetNSString(IDS_IOS_PAYMENT_REQUEST_TITLE)];
|
|
|
| - // Set up left (cancel) button.
|
| + // Set up leading (cancel) button.
|
| _cancelButton.reset([[UIBarButtonItem alloc]
|
| initWithTitle:l10n_util::GetNSString(
|
| IDS_IOS_PAYMENT_REQUEST_CANCEL_BUTTON)
|
| @@ -128,7 +128,7 @@ typedef NS_ENUM(NSInteger, ItemType) {
|
| setAccessibilityLabel:l10n_util::GetNSString(IDS_ACCNAME_CANCEL)];
|
| [self navigationItem].leftBarButtonItem = _cancelButton;
|
|
|
| - // Set up right (pay) button.
|
| + // Set up trailing (pay) button.
|
| _payButton.reset([[MDCFlatButton alloc] init]);
|
| [_payButton
|
| setTitle:l10n_util::GetNSString(IDS_IOS_PAYMENT_REQUEST_PAY_BUTTON)
|
| @@ -312,7 +312,7 @@ typedef NS_ENUM(NSInteger, ItemType) {
|
|
|
| - (void)viewDidLoad {
|
| [super viewDidLoad];
|
| - self.collectionView.accessibilityIdentifier = kPaymentRequestCollectionViewId;
|
| + self.collectionView.accessibilityIdentifier = kPaymentRequestCollectionViewID;
|
|
|
| // Customize collection view settings.
|
| self.styler.cellStyle = MDCCollectionViewCellStyleCard;
|
|
|