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

Side by Side Diff: ios/chrome/browser/payments/cells/order_summary_line_item.mm

Issue 2590943002: Removes two unnecessary cells + adds missing unit test for an existing cell (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #import "ios/chrome/browser/payments/cells/order_summary_line_item.h"
6
7 #import "ios/third_party/material_components_ios/src/components/Palettes/src/Mat erialPalettes.h"
8 #import "ios/third_party/material_roboto_font_loader_ios/src/src/MaterialRobotoF ontLoader.h"
9
10 @implementation OrderSummaryLineItem
11
12 #pragma mark CollectionViewItem
13
14 - (void)configureCell:(CollectionViewDetailCell*)cell {
15 [super configureCell:cell];
16
17 cell.textLabel.font =
18 [[MDFRobotoFontLoader sharedInstance] regularFontOfSize:14];
19 cell.textLabel.textColor = [[MDCPalette greyPalette] tint900];
20
21 cell.detailTextLabel.font =
22 [[MDFRobotoFontLoader sharedInstance] regularFontOfSize:14];
23 cell.detailTextLabel.textColor = [[MDCPalette greyPalette] tint900];
24 }
25
26 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698