| Index: ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm
|
| diff --git a/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm b/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm
|
| index 0ef1796facc83188f4b2c0a572a06537ef26055d..c3b1bc1e17ab27cd982df5cbf58cdfd68d2e3509 100644
|
| --- a/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm
|
| +++ b/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm
|
| @@ -17,6 +17,8 @@
|
| #import "ios/chrome/browser/ui/content_suggestions/content_suggestions_data_sink.h"
|
| #import "ios/chrome/browser/ui/content_suggestions/content_suggestions_image_fetcher.h"
|
| #import "ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h"
|
| +#include "ios/chrome/grit/ios_strings.h"
|
| +#include "ui/base/l10n/l10n_util_mac.h"
|
| #include "ui/gfx/image/image.h"
|
|
|
| #if !defined(__has_feature) || !__has_feature(objc_arc)
|
| @@ -98,6 +100,10 @@ ContentSuggestionsSectionInformation* SectionInformationFromCategoryInfo(
|
| // TODO(crbug.com/686728): Creates an item to display information when the
|
| // section is empty.
|
| }
|
| + if (categoryInfo->has_fetch_action()) {
|
| + sectionInfo.footerTitle =
|
| + l10n_util::GetNSString(IDS_IOS_CONTENT_SUGGESTIONS_FOOTER_TITLE);
|
| + }
|
| sectionInfo.title = base::SysUTF16ToNSString(categoryInfo->title());
|
| }
|
| return sectionInfo;
|
|
|