|
@@ -27,10 +27,13 @@ public class BottomTabs extends AHBottomNavigation {
|
27
|
27
|
|
28
|
28
|
public void setStyleFromScreen(ScreenStyleParams params) {
|
29
|
29
|
setBackgroundColor(params.bottomTabsColor);
|
|
30
|
+ if (params.bottomTabsButtonColor.hasColor()) {
|
|
31
|
+ setInactiveColor(params.bottomTabsButtonColor.getColor());
|
|
32
|
+ }
|
30
|
33
|
|
31
|
|
- // setForceTitlesDisplay(true);
|
32
|
|
-// setInactiveColor(params.bottomTabsButtonColor.getColor());
|
33
|
|
-// setAccentColor(params.selectedBottomTabsButtonColor.getColor());
|
|
34
|
+ if (params.selectedBottomTabsButtonColor.hasColor()) {
|
|
35
|
+ setAccentColor(params.selectedBottomTabsButtonColor.getColor());
|
|
36
|
+ }
|
34
|
37
|
}
|
35
|
38
|
|
36
|
39
|
private void setBackgroundColor(ScreenStyleParams.Color bottomTabsColor) {
|