Index: ios/chrome/browser/payments/shipping_address_selection_view_controller.mm |
diff --git a/ios/chrome/browser/payments/shipping_address_selection_view_controller.mm b/ios/chrome/browser/payments/shipping_address_selection_view_controller.mm |
index 9e411e72a91604869e53000273be1e1fdee4738a..09069bc2557c0844245d866515cea2bc8afb6d99 100644 |
--- a/ios/chrome/browser/payments/shipping_address_selection_view_controller.mm |
+++ b/ios/chrome/browser/payments/shipping_address_selection_view_controller.mm |
@@ -30,8 +30,8 @@ using payment_request_util::NameLabelFromAutofillProfile; |
using payment_request_util::AddressLabelFromAutofillProfile; |
using payment_request_util::PhoneNumberLabelFromAutofillProfile; |
-NSString* const kShippingAddressSelectionCollectionViewId = |
- @"kShippingAddressSelectionCollectionViewId"; |
+NSString* const kShippingAddressSelectionCollectionViewID = |
+ @"kShippingAddressSelectionCollectionViewID"; |
namespace { |
@@ -79,6 +79,7 @@ typedef NS_ENUM(NSInteger, ItemType) { |
self.title = l10n_util::GetNSString( |
IDS_IOS_PAYMENT_REQUEST_SHIPPING_ADDRESS_SELECTION_TITLE); |
+ // Set up leading (return) button. |
UIBarButtonItem* returnButton = |
[ChromeIcon templateBarButtonItemWithImage:[ChromeIcon backIcon] |
target:nil |
@@ -163,7 +164,7 @@ typedef NS_ENUM(NSInteger, ItemType) { |
- (void)viewDidLoad { |
[super viewDidLoad]; |
self.collectionView.accessibilityIdentifier = |
- kShippingAddressSelectionCollectionViewId; |
+ kShippingAddressSelectionCollectionViewID; |
// Customize collection view settings. |
self.styler.cellStyle = MDCCollectionViewCellStyleCard; |