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

Unified Diff: ios/chrome/browser/ui/settings/cells/encryption_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/settings/cells/encryption_item.mm
diff --git a/ios/chrome/browser/ui/settings/cells/encryption_item.mm b/ios/chrome/browser/ui/settings/cells/encryption_item.mm
index d22d8ba49ade18c7214babea42f78f3635cb67eb..773a7fa583f0100c81f6374a3ff61f1072a84f5e 100644
--- a/ios/chrome/browser/ui/settings/cells/encryption_item.mm
+++ b/ios/chrome/browser/ui/settings/cells/encryption_item.mm
@@ -28,7 +28,6 @@ const CGFloat kVerticalPadding = 16;
@implementation EncryptionItem
-@synthesize accessoryType = _accessoryType;
@synthesize text = _text;
@synthesize enabled = _enabled;
@@ -44,7 +43,6 @@ const CGFloat kVerticalPadding = 16;
- (void)configureCell:(EncryptionCell*)cell {
[super configureCell:cell];
- cell.accessoryType = self.accessoryType;
cell.textLabel.text = self.text;
cell.textLabel.textColor =
[EncryptionCell defaultTextColorForEnabledState:self.enabled];
@@ -122,7 +120,6 @@ const CGFloat kVerticalPadding = 16;
- (void)prepareForReuse {
[super prepareForReuse];
- self.accessoryType = MDCCollectionViewCellAccessoryNone;
self.textLabel.text = nil;
[EncryptionCell defaultTextColorForEnabledState:YES];
}
« no previous file with comments | « ios/chrome/browser/ui/settings/cells/encryption_item.h ('k') | ios/chrome/browser/ui/settings/cells/text_and_error_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698