|
@@ -17,7 +17,7 @@ class TitleBarButton implements MenuItem.OnMenuItemClickListener {
|
17
|
17
|
|
18
|
18
|
protected final Menu menu;
|
19
|
19
|
protected final View parent;
|
20
|
|
- protected TitleBarButtonParams buttonParams;
|
|
20
|
+ TitleBarButtonParams buttonParams;
|
21
|
21
|
@Nullable protected String navigatorEventId;
|
22
|
22
|
|
23
|
23
|
TitleBarButton(Menu menu, View parent, TitleBarButtonParams buttonParams, @Nullable String navigatorEventId) {
|
|
@@ -37,7 +37,6 @@ class TitleBarButton implements MenuItem.OnMenuItemClickListener {
|
37
|
37
|
return item;
|
38
|
38
|
}
|
39
|
39
|
|
40
|
|
-
|
41
|
40
|
private void setIcon(MenuItem item) {
|
42
|
41
|
if (hasIcon()) {
|
43
|
42
|
item.setIcon(buttonParams.icon);
|
|
@@ -79,7 +78,7 @@ class TitleBarButton implements MenuItem.OnMenuItemClickListener {
|
79
|
78
|
|
80
|
79
|
private void setTextColorForFoundButtonViews(ArrayList<View> outViews) {
|
81
|
80
|
for (View button : outViews) {
|
82
|
|
- ((TextView) button).setTextColor(buttonParams.color.getColor());
|
|
81
|
+ ((TextView) button).setTextColor(buttonParams.getColor().getColor());
|
83
|
82
|
}
|
84
|
83
|
}
|
85
|
84
|
|