| 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 01c28a7a1770d302d471817bd1821a122025f9c8..d0c0300da6389f4cae9381439ad1e24db168294c 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
|
| @@ -342,6 +342,12 @@ addSuggestionsToModel:(NSArray<CSCollectionViewItem*>*)suggestions
|
| return [self addItem:item toSectionWithIdentifier:sectionIdentifier];
|
| }
|
|
|
| +- (BOOL)isMostVisitedSection:(NSInteger)section {
|
| + return
|
| + [self.collectionViewController.collectionViewModel
|
| + sectionIdentifierForSection:section] == SectionIdentifierMostVisited;
|
| +}
|
| +
|
| #pragma mark - SuggestedContentDelegate
|
|
|
| - (void)loadImageForSuggestedItem:(CSCollectionViewItem*)suggestedItem {
|
|
|