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

Unified Diff: ios/chrome/browser/ui/authentication/account_control_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/authentication/account_control_item.mm
diff --git a/ios/chrome/browser/ui/authentication/account_control_item.mm b/ios/chrome/browser/ui/authentication/account_control_item.mm
index 0ba7501e6c360c63c110d5889f2f1c8c267e9a49..1962c0b10e10bc85e3add7a78782c1c558f37538 100644
--- a/ios/chrome/browser/ui/authentication/account_control_item.mm
+++ b/ios/chrome/browser/ui/authentication/account_control_item.mm
@@ -30,7 +30,6 @@ const CGFloat kVerticalPaddingBetweenLabelAndDetailLabel = 8;
@synthesize image = _image;
@synthesize text = _text;
@synthesize detailText = _detailText;
-@synthesize accessoryType = _accessoryType;
@synthesize shouldDisplayError = _shouldDisplayError;
- (instancetype)initWithType:(NSInteger)type {
@@ -47,7 +46,6 @@ const CGFloat kVerticalPaddingBetweenLabelAndDetailLabel = 8;
- (void)configureCell:(AccountControlCell*)cell {
[super configureCell:cell];
cell.imageView.image = self.image;
- cell.accessoryType = self.accessoryType;
cell.textLabel.attributedText =
[self attributedStringForText:self.text
@@ -202,7 +200,6 @@ const CGFloat kVerticalPaddingBetweenLabelAndDetailLabel = 8;
self.imageView.image = nil;
self.textLabel.text = nil;
self.detailTextLabel.text = nil;
- self.accessoryType = MDCCollectionViewCellAccessoryNone;
self.detailTextLabel.textColor = [[MDCPalette greyPalette] tint700];
}

Powered by Google App Engine
This is Rietveld 408576698