Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Unified Diff: ios/clean/chrome/browser/ui/toolbar/toolbar_button.mm

Issue 2894243003: [ios clean] ToolbarButton tint color changes. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/clean/chrome/browser/ui/toolbar/toolbar_button+factory.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/clean/chrome/browser/ui/toolbar/toolbar_button.mm
diff --git a/ios/clean/chrome/browser/ui/toolbar/toolbar_button.mm b/ios/clean/chrome/browser/ui/toolbar/toolbar_button.mm
index 9e11227f9c792d20b3937c198f38d875c2a38483..a96deea2f2b41e922ee4bcffe0bc3af5ca94b085 100644
--- a/ios/clean/chrome/browser/ui/toolbar/toolbar_button.mm
+++ b/ios/clean/chrome/browser/ui/toolbar/toolbar_button.mm
@@ -16,7 +16,7 @@
+ (instancetype)toolbarButtonWithImageForNormalState:(UIImage*)normalImage
imageForHighlightedState:(UIImage*)highlightedImage
imageForDisabledState:(UIImage*)disabledImage {
- ToolbarButton* button = [[self class] buttonWithType:UIButtonTypeSystem];
+ ToolbarButton* button = [[self class] buttonWithType:UIButtonTypeCustom];
[button setImage:normalImage forState:UIControlStateNormal];
[button setImage:highlightedImage forState:UIControlStateHighlighted];
[button setImage:disabledImage forState:UIControlStateDisabled];
« no previous file with comments | « no previous file | ios/clean/chrome/browser/ui/toolbar/toolbar_button+factory.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698