Index: ios/chrome/browser/ui/settings/cells/passphrase_error_item.mm |
diff --git a/ios/chrome/browser/ui/settings/cells/passphrase_error_item.mm b/ios/chrome/browser/ui/settings/cells/passphrase_error_item.mm |
index ab4e1586ead206f40904d02c65a1949c7ea0072d..dd7c80f098fe67764e2a5434efca4d1a18b71e34 100644 |
--- a/ios/chrome/browser/ui/settings/cells/passphrase_error_item.mm |
+++ b/ios/chrome/browser/ui/settings/cells/passphrase_error_item.mm |
@@ -8,7 +8,7 @@ |
#import "ios/chrome/browser/ui/colors/MDCPalette+CrAdditions.h" |
#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." |
@@ -54,8 +54,7 @@ const CGFloat kHorizontalPadding = 16; |
_textLabel = [[UILabel alloc] init]; |
_textLabel.translatesAutoresizingMaskIntoConstraints = NO; |
- _textLabel.font = |
- [[MDFRobotoFontLoader sharedInstance] mediumFontOfSize:14]; |
+ _textLabel.font = [[MDCTypography fontLoader] mediumFontOfSize:14]; |
_textLabel.textColor = [[MDCPalette cr_redPalette] tint500]; |
[contentView addSubview:_textLabel]; |