| Index: ios/chrome/browser/ui/infobars/infobar_view.mm
|
| diff --git a/ios/chrome/browser/ui/infobars/infobar_view.mm b/ios/chrome/browser/ui/infobars/infobar_view.mm
|
| index 1e588e71302a66fbd63f55a19a7c46d7858e829b..a0a79f6b8e004623c8fca5ae463dd605754cadd1 100644
|
| --- a/ios/chrome/browser/ui/infobars/infobar_view.mm
|
| +++ b/ios/chrome/browser/ui/infobars/infobar_view.mm
|
| @@ -876,8 +876,10 @@ enum InfoBarButtonPosition { ON_FIRST_LINE, CENTER, LEFT, RIGHT };
|
| forState:UIControlStateDisabled];
|
| if (palette)
|
| button.get().hasOpaqueBackground = YES;
|
| - if (customTitleColor)
|
| + if (customTitleColor) {
|
| + button.get().tintAdjustmentMode = UIViewTintAdjustmentModeNormal;
|
| button.get().customTitleColor = customTitleColor;
|
| + }
|
| button.get().titleLabel.adjustsFontSizeToFitWidth = YES;
|
| button.get().titleLabel.minimumScaleFactor = 0.6f;
|
| [button setTitle:message forState:UIControlStateNormal];
|
|
|