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

Unified Diff: ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.mm

Issue 2785053003: Default state for the favicon view (Closed)
Patch Set: Rebase Created 3 years, 9 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/favicon/favicon_view.mm ('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/reading_list/reading_list_collection_view_item.mm
diff --git a/ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.mm b/ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.mm
index 0231ef48e78a2a453b9043d8b60ce39e643e56d6..d4e055cfe8e3369f5d4e6cd814bf10f15a2f6444 100644
--- a/ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.mm
+++ b/ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.mm
@@ -76,9 +76,7 @@ const CGFloat kInfoTextTransparency = 0.38;
- (void)configureCell:(ReadingListCell*)cell {
[super configureCell:cell];
- if (self.attributes) {
- [cell.faviconView configureWithAttributes:self.attributes];
- }
+ [cell.faviconView configureWithAttributes:self.attributes];
cell.titleLabel.text = self.title;
cell.subtitleLabel.text = self.subtitle;
cell.distillationState = _distillationState;
@@ -459,6 +457,7 @@ const CGFloat kInfoTextTransparency = 0.38;
self.distillationDate = 0;
self.distillationSize = 0;
[self setShowInfo:NO];
+ [self.faviconView configureWithAttributes:nil];
self.accessibilityCustomActions = nil;
[super prepareForReuse];
}
« no previous file with comments | « ios/chrome/browser/ui/favicon/favicon_view.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698