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

Unified Diff: ios/chrome/browser/ui/collection_view/cells/collection_view_account_item.mm

Issue 2596753002: Resets detail text color on prepareForReuse (Closed)
Patch Set: Import MaterialPalettes Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 065b3b90238737d6b7c259d25fe9c5a7a56310e2..6b3bb416090a622e035232b5df775eba4466fa66 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
@@ -6,6 +6,7 @@
#include "base/mac/foundation_util.h"
#import "ios/chrome/browser/ui/colors/MDCPalette+CrAdditions.h"
+#import "ios/third_party/material_components_ios/src/components/Palettes/src/MaterialPalettes.h"
#import "ios/third_party/material_roboto_font_loader_ios/src/src/MaterialRobotoFontLoader.h"
#include "ui/base/l10n/l10n_util.h"
@@ -241,6 +242,7 @@ const CGFloat kHorizontalErrorIconFixedSize = 25;
self.imageView.image = nil;
self.textLabel.text = nil;
self.detailTextLabel.text = nil;
+ self.detailTextLabel.textColor = [[MDCPalette greyPalette] tint500];
self.errorIcon.image = nil;
self.accessoryType = MDCCollectionViewCellAccessoryNone;
self.userInteractionEnabled = YES;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698