Chromium Code Reviews| Index: ios/chrome/browser/ui/settings/translate_collection_view_controller.mm |
| diff --git a/ios/chrome/browser/ui/settings/translate_collection_view_controller.mm b/ios/chrome/browser/ui/settings/translate_collection_view_controller.mm |
| index bd4a0f97198ad62a8ef5310841cfbd9a0cc8d1eb..2cf932994f17f1609999e6ade65afb51e57eb822 100644 |
| --- a/ios/chrome/browser/ui/settings/translate_collection_view_controller.mm |
| +++ b/ios/chrome/browser/ui/settings/translate_collection_view_controller.mm |
| @@ -107,6 +107,8 @@ NSString* const kTranslateSettingsCategory = @"ChromeTranslateSettings"; |
| initWithType:ItemTypeResetTranslate] autorelease]; |
| resetTranslate.text = l10n_util::GetNSString(IDS_IOS_TRANSLATE_SETTING_RESET); |
| resetTranslate.accessibilityTraits |= UIAccessibilityTraitButton; |
| + resetTranslate.textFont = |
| + [[MDFRobotoFontLoader sharedInstance] mediumFontOfSize:14]; |
|
lpromero
2017/03/24 09:28:24
Idem for Roboto→Typography.
gambard
2017/03/24 09:49:03
Done.
|
| [model addItem:resetTranslate |
| toSectionWithIdentifier:SectionIdentifierTranslate]; |
| @@ -140,13 +142,6 @@ NSString* const kTranslateSettingsCategory = @"ChromeTranslateSettings"; |
| forControlEvents:UIControlEventValueChanged]; |
| break; |
| } |
| - case ItemTypeResetTranslate: { |
| - MDCCollectionViewTextCell* textCell = |
| - base::mac::ObjCCastStrict<MDCCollectionViewTextCell>(cell); |
| - textCell.textLabel.font = |
| - [[MDFRobotoFontLoader sharedInstance] mediumFontOfSize:14]; |
| - break; |
| - } |
| default: |
| break; |
| } |