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

Unified Diff: ios/chrome/browser/ui/collection_view/cells/collection_view_account_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/ui/collection_view/cells/collection_view_account_item.mm
diff --git a/ios/chrome/browser/ui/collection_view/cells/collection_view_account_item.mm b/ios/chrome/browser/ui/collection_view/cells/collection_view_account_item.mm
index e13bbc5bda68b42dbb5a51000e030643eda3a1ca..4a47a96b97ed1cc8ad551d94bc65e40782a96e8b 100644
--- a/ios/chrome/browser/ui/collection_view/cells/collection_view_account_item.mm
+++ b/ios/chrome/browser/ui/collection_view/cells/collection_view_account_item.mm
@@ -36,7 +36,6 @@ const CGFloat kHorizontalErrorIconFixedSize = 25;
@synthesize image = _image;
@synthesize text = _text;
@synthesize detailText = _detailText;
-@synthesize accessoryType = _accessoryType;
@synthesize shouldDisplayError = _shouldDisplayError;
@synthesize chromeIdentity = _chromeIdentity;
@synthesize enabled = _enabled;
@@ -58,7 +57,6 @@ const CGFloat kHorizontalErrorIconFixedSize = 25;
cell.imageView.image = self.image;
cell.textLabel.text = self.text;
cell.detailTextLabel.text = self.detailText;
- cell.accessoryType = self.accessoryType;
if (self.shouldDisplayError) {
cell.errorIcon.image = [UIImage imageNamed:@"settings_error"];
cell.detailTextLabel.textColor = [[MDCPalette cr_redPalette] tint500];
@@ -245,7 +243,6 @@ const CGFloat kHorizontalErrorIconFixedSize = 25;
self.textLabel.textColor = [[MDCPalette greyPalette] tint900];
self.detailTextLabel.textColor = [[MDCPalette greyPalette] tint500];
self.errorIcon.image = nil;
- self.accessoryType = MDCCollectionViewCellAccessoryNone;
self.userInteractionEnabled = YES;
self.contentView.alpha = 1;
UIImageView* accessoryImage =

Powered by Google App Engine
This is Rietveld 408576698