| Index: ios/chrome/browser/ui/sad_tab/sad_tab_view.mm
|
| diff --git a/ios/chrome/browser/ui/sad_tab/sad_tab_view.mm b/ios/chrome/browser/ui/sad_tab/sad_tab_view.mm
|
| index ac2fc8a36cb6f9e02791d2df7247f4c3abae99db..99eaccd101f8210588d97ca58d0789b4dbf4fa8b 100644
|
| --- a/ios/chrome/browser/ui/sad_tab/sad_tab_view.mm
|
| +++ b/ios/chrome/browser/ui/sad_tab/sad_tab_view.mm
|
| @@ -17,7 +17,7 @@
|
| #import "ios/chrome/browser/ui/url_loader.h"
|
| #import "ios/chrome/browser/ui/util/label_link_controller.h"
|
| #import "ios/third_party/material_components_ios/src/components/Buttons/src/MaterialButtons.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"
|
| #include "ios/web/public/navigation_manager.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "url/gurl.h"
|
| @@ -279,7 +279,7 @@ NSString* const kMessageLabelBulletRTLFormat = @"\u202E%@\u202C";
|
| }];
|
|
|
| _footerLabelLinkController.linkFont =
|
| - [MDFRobotoFontLoader.sharedInstance boldFontOfSize:kFooterLabelFontSize];
|
| + [[MDCTypography fontLoader] boldFontOfSize:kFooterLabelFontSize];
|
| _footerLabelLinkController.linkUnderlineStyle = NSUnderlineStyleSingle;
|
| NSRange linkRange = [label.text rangeOfString:linkText];
|
| DCHECK(linkRange.location != NSNotFound);
|
| @@ -317,7 +317,7 @@ NSString* const kMessageLabelBulletRTLFormat = @"\u202E%@\u202C";
|
| [_titleLabel
|
| setTextColor:[UIColor colorWithWhite:kTitleLabelTextColorBrightness
|
| alpha:1.0]];
|
| - [_titleLabel setFont:[[MDFRobotoFontLoader sharedInstance]
|
| + [_titleLabel setFont:[[MDCTypography fontLoader]
|
| regularFontOfSize:kTitleLabelFontSize]];
|
| }
|
| return _titleLabel;
|
| @@ -333,7 +333,7 @@ NSString* const kMessageLabelBulletRTLFormat = @"\u202E%@\u202C";
|
| [_messageLabel
|
| setTextColor:[UIColor colorWithWhite:kMessageLabelTextColorBrightness
|
| alpha:1.0]];
|
| - [_messageLabel setFont:[[MDFRobotoFontLoader sharedInstance]
|
| + [_messageLabel setFont:[[MDCTypography fontLoader]
|
| regularFontOfSize:kMessageLabelFontSize]];
|
| }
|
| return _messageLabel;
|
| @@ -344,7 +344,7 @@ NSString* const kMessageLabelBulletRTLFormat = @"\u202E%@\u202C";
|
| _footerLabel = [[UILabel alloc] initWithFrame:CGRectZero];
|
| [_footerLabel setBackgroundColor:self.backgroundColor];
|
| [_footerLabel setNumberOfLines:0];
|
| - [_footerLabel setFont:[[MDFRobotoFontLoader sharedInstance]
|
| + [_footerLabel setFont:[[MDCTypography fontLoader]
|
| regularFontOfSize:kFooterLabelFontSize]];
|
| [_footerLabel
|
| setTextColor:[UIColor colorWithWhite:kMessageLabelTextColorBrightness
|
|
|