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

Unified Diff: ios/chrome/browser/payments/cells/price_item.mm

Issue 2814793003: Adds accessoryType property to CollectionViewItem (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
Index: ios/chrome/browser/payments/cells/price_item.mm
diff --git a/ios/chrome/browser/payments/cells/price_item.mm b/ios/chrome/browser/payments/cells/price_item.mm
index eced29171febde93ee520eac988a4910967ac4c4..c5ac421a941bb950f3c3efc1d8d26157eff7a669 100644
--- a/ios/chrome/browser/payments/cells/price_item.mm
+++ b/ios/chrome/browser/payments/cells/price_item.mm
@@ -25,7 +25,6 @@ const CGFloat kMinWidthRatio = 0.5f;
@implementation PriceItem
-@synthesize accessoryType = _accessoryType;
@synthesize item = _item;
@synthesize notification = _notification;
@synthesize price = _price;
@@ -42,7 +41,6 @@ const CGFloat kMinWidthRatio = 0.5f;
- (void)configureCell:(PriceCell*)cell {
[super configureCell:cell];
- cell.accessoryType = self.accessoryType;
cell.itemLabel.text = self.item;
cell.notificationLabel.text = self.notification;
cell.priceLabel.text = self.price;
@@ -165,7 +163,6 @@ const CGFloat kMinWidthRatio = 0.5f;
- (void)prepareForReuse {
[super prepareForReuse];
- self.accessoryType = MDCCollectionViewCellAccessoryNone;
self.itemLabel.text = nil;
self.notificationLabel.text = nil;
self.priceLabel.text = nil;
« no previous file with comments | « ios/chrome/browser/payments/cells/price_item.h ('k') | ios/chrome/browser/ui/authentication/account_control_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698