| Index: ios/chrome/browser/ui/settings/cells/autofill_data_item.mm
|
| diff --git a/ios/chrome/browser/ui/settings/cells/autofill_data_item.mm b/ios/chrome/browser/ui/settings/cells/autofill_data_item.mm
|
| index 31b723408af18f8bc1bf86503eb33727d9fb30e8..5b8865708cb194a3bb68499daf7a3a75817284f7 100644
|
| --- a/ios/chrome/browser/ui/settings/cells/autofill_data_item.mm
|
| +++ b/ios/chrome/browser/ui/settings/cells/autofill_data_item.mm
|
| @@ -5,7 +5,7 @@
|
| #import "ios/chrome/browser/ui/settings/cells/autofill_data_item.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."
|
| @@ -85,19 +85,19 @@ const CGFloat kVerticalPadding = 16;
|
|
|
| // Sets default font and text colors for labels.
|
| - (void)setDefaultViewStyling {
|
| - _textLabel.font = [[MDFRobotoFontLoader sharedInstance] mediumFontOfSize:14];
|
| + _textLabel.font = [[MDCTypography fontLoader] mediumFontOfSize:14];
|
| _textLabel.textColor = [[MDCPalette greyPalette] tint900];
|
| _textLabel.numberOfLines = 0;
|
| _textLabel.lineBreakMode = NSLineBreakByWordWrapping;
|
|
|
| _leadingDetailTextLabel.font =
|
| - [[MDFRobotoFontLoader sharedInstance] regularFontOfSize:14];
|
| + [[MDCTypography fontLoader] regularFontOfSize:14];
|
| _leadingDetailTextLabel.textColor = [[MDCPalette greyPalette] tint500];
|
| _leadingDetailTextLabel.numberOfLines = 0;
|
| _leadingDetailTextLabel.lineBreakMode = NSLineBreakByWordWrapping;
|
|
|
| _trailingDetailTextLabel.font =
|
| - [[MDFRobotoFontLoader sharedInstance] regularFontOfSize:12];
|
| + [[MDCTypography fontLoader] regularFontOfSize:12];
|
| _trailingDetailTextLabel.textColor = [[MDCPalette greyPalette] tint500];
|
| }
|
|
|
|
|