| 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 f643121fcf318b6a28cb7e4387abb07d4cae3c5e..ba0d060ccbad4eb20454e57ff23fd5492cd8e3b4 100644
|
| --- a/ios/chrome/browser/payments/payment_request_view_controller.mm
|
| +++ b/ios/chrome/browser/payments/payment_request_view_controller.mm
|
| @@ -260,7 +260,13 @@ typedef NS_ENUM(NSInteger, ItemType) {
|
| if (_paymentRequest->selected_shipping_option()) {
|
| CollectionViewTextItem* selectedShippingOptionItem =
|
| [[CollectionViewTextItem alloc] initWithType:ItemTypeShippingOption];
|
| + selectedShippingOptionItem.textFont = [MDCTypography body2Font];
|
| + selectedShippingOptionItem.textColor = [[MDCPalette greyPalette] tint900];
|
| + selectedShippingOptionItem.detailTextFont = [MDCTypography body1Font];
|
| + selectedShippingOptionItem.detailTextColor =
|
| + [[MDCPalette greyPalette] tint900];
|
| shippingOptionItem = selectedShippingOptionItem;
|
| +
|
| _selectedShippingOptionItem = selectedShippingOptionItem;
|
| [self fillShippingOptionItem:selectedShippingOptionItem
|
| withOption:_paymentRequest->selected_shipping_option()];
|
| @@ -470,15 +476,6 @@ typedef NS_ENUM(NSInteger, ItemType) {
|
| [[MDCPalette cr_bluePalette] tint700];
|
| break;
|
| }
|
| - case ItemTypeShippingOption: {
|
| - MDCCollectionViewTextCell* textCell =
|
| - base::mac::ObjCCastStrict<MDCCollectionViewTextCell>(cell);
|
| - textCell.textLabel.font = [MDCTypography body2Font];
|
| - textCell.textLabel.textColor = [[MDCPalette greyPalette] tint900];
|
| - textCell.detailTextLabel.font = [MDCTypography body1Font];
|
| - textCell.detailTextLabel.textColor = [[MDCPalette greyPalette] tint900];
|
| - break;
|
| - }
|
| default:
|
| break;
|
| }
|
|
|