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

Unified Diff: ios/chrome/browser/ui/settings/cells/autofill_data_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/autofill_data_item.mm
diff --git a/ios/chrome/browser/ui/settings/cells/autofill_data_item.mm b/ios/chrome/browser/ui/settings/cells/autofill_data_item.mm
index 31b723408af18f8bc1bf86503eb33727d9fb30e8..1f53f45fc67c721af874608ff7d4038f5691da27 100644
--- a/ios/chrome/browser/ui/settings/cells/autofill_data_item.mm
+++ b/ios/chrome/browser/ui/settings/cells/autofill_data_item.mm
@@ -25,7 +25,6 @@ const CGFloat kVerticalPadding = 16;
@synthesize text = _text;
@synthesize leadingDetailText = _leadingDetailText;
@synthesize trailingDetailText = _trailingDetailText;
-@synthesize accessoryType = _accessoryType;
- (instancetype)initWithType:(NSInteger)type {
self = [super initWithType:type];
@@ -42,7 +41,6 @@ const CGFloat kVerticalPadding = 16;
cell.textLabel.text = self.text;
cell.leadingDetailTextLabel.text = self.leadingDetailText;
cell.trailingDetailTextLabel.text = self.trailingDetailText;
- cell.accessoryType = self.accessoryType;
}
@end
@@ -164,7 +162,6 @@ const CGFloat kVerticalPadding = 16;
self.textLabel.text = nil;
self.leadingDetailTextLabel.text = nil;
self.trailingDetailTextLabel.text = nil;
- self.accessoryType = MDCCollectionViewCellAccessoryNone;
}
#pragma mark - NSObject(Accessibility)
« no previous file with comments | « ios/chrome/browser/ui/settings/cells/autofill_data_item.h ('k') | ios/chrome/browser/ui/settings/cells/encryption_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698