Index: ios/chrome/browser/ui/collection_view/cells/collection_view_detail_item.mm |
diff --git a/ios/chrome/browser/ui/collection_view/cells/collection_view_detail_item.mm b/ios/chrome/browser/ui/collection_view/cells/collection_view_detail_item.mm |
index 906b89219f74c0f80cd4b5de0302462a731fae8e..4b1988426b3b4f90165e5a66c337d987ced9831b 100644 |
--- a/ios/chrome/browser/ui/collection_view/cells/collection_view_detail_item.mm |
+++ b/ios/chrome/browser/ui/collection_view/cells/collection_view_detail_item.mm |
@@ -7,7 +7,7 @@ |
#include <algorithm> |
#import "ios/third_party/material_components_ios/src/components/Palettes/src/MaterialPalettes.h" |
-#import "ios/third_party/material_roboto_font_loader_ios/src/src/MaterialRobotoFontLoader.h" |
+#import "ios/third_party/material_components_ios/src/components/Typography/src/MaterialTypography.h" |
#if !defined(__has_feature) || !__has_feature(objc_arc) |
#error "This file requires ARC support." |
@@ -69,8 +69,7 @@ const CGFloat kMinDetailTextWidthRatio = 0.25f; |
_textLabel.backgroundColor = [UIColor clearColor]; |
[contentView addSubview:_textLabel]; |
- _textLabel.font = |
- [[MDFRobotoFontLoader sharedInstance] mediumFontOfSize:14]; |
+ _textLabel.font = [MDCTypography body2Font]; |
_textLabel.textColor = [[MDCPalette greyPalette] tint900]; |
_detailTextLabel = [[UILabel alloc] init]; |
@@ -78,8 +77,7 @@ const CGFloat kMinDetailTextWidthRatio = 0.25f; |
_detailTextLabel.backgroundColor = [UIColor clearColor]; |
[contentView addSubview:_detailTextLabel]; |
- _detailTextLabel.font = |
- [[MDFRobotoFontLoader sharedInstance] regularFontOfSize:14]; |
+ _detailTextLabel.font = [MDCTypography body1Font]; |
_detailTextLabel.textColor = [[MDCPalette greyPalette] tint500]; |
// Set up the width constraints. They are activated here and updated in |