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

Unified Diff: ios/chrome/browser/ui/settings/cells/text_and_error_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
« no previous file with comments | « ios/chrome/browser/ui/settings/cells/text_and_error_item.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/settings/cells/text_and_error_item.mm
diff --git a/ios/chrome/browser/ui/settings/cells/text_and_error_item.mm b/ios/chrome/browser/ui/settings/cells/text_and_error_item.mm
index 4adf9d6857b459edce6b64b0aadf28b00de197a7..125fe68d7a498d6ccba840635b1ece9fb29c1287 100644
--- a/ios/chrome/browser/ui/settings/cells/text_and_error_item.mm
+++ b/ios/chrome/browser/ui/settings/cells/text_and_error_item.mm
@@ -29,7 +29,6 @@ const CGFloat kHorizontalErrorIconFixedSize = 25;
@implementation TextAndErrorItem
@synthesize text = _text;
-@synthesize accessoryType = _accessoryType;
@synthesize shouldDisplayError = _shouldDisplayError;
@synthesize enabled = _enabled;
@@ -46,7 +45,6 @@ const CGFloat kHorizontalErrorIconFixedSize = 25;
- (void)configureCell:(TextAndErrorCell*)cell {
[super configureCell:cell];
cell.textLabel.text = self.text;
- cell.accessoryType = self.accessoryType;
cell.accessibilityLabel = self.text;
if (self.shouldDisplayError) {
cell.errorIcon.image = [UIImage imageNamed:@"settings_error"];
« no previous file with comments | « ios/chrome/browser/ui/settings/cells/text_and_error_item.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698