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

Unified Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.mm

Issue 2796273002: Display offline availability on ContentSuggestions (Closed)
Patch Set: Adress comments 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/content_suggestions/content_suggestions_collection_updater.mm
diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.mm b/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.mm
index c87d9bf8854e1189dde65d5d545d71d8682e5b14..c1400696c409c0d1348e2ac8e14eb81a2bccf11b 100644
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.mm
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.mm
@@ -279,7 +279,7 @@ SectionIdentifier SectionIdentifierForInfo(
[[ContentSuggestionsReadingListItem alloc]
initWithType:ItemTypeReadingList
url:suggestion.url
- distillationState:ReadingListUIDistillationStatusPending];
+ distillationState:suggestion.readingListExtra.status];
readingListItem.title = suggestion.title;
readingListItem.subtitle = suggestion.publisher;

Powered by Google App Engine
This is Rietveld 408576698