|
@@ -35,12 +35,12 @@ public class BottomTabs extends AHBottomNavigation {
|
35
|
35
|
}
|
36
|
36
|
|
37
|
37
|
public void setStyleFromScreen(StyleParams params) {
|
38
|
|
- setBackgroundColor(params.bottomTabsColor);
|
39
|
|
-
|
|
38
|
+ if (params.bottomTabsColor.hasColor()) {
|
|
39
|
+ setBackgroundColor(params.bottomTabsColor);
|
|
40
|
+ }
|
40
|
41
|
if (params.bottomTabsButtonColor.hasColor()) {
|
41
|
42
|
setInactiveColor(params.bottomTabsButtonColor.getColor());
|
42
|
43
|
}
|
43
|
|
-
|
44
|
44
|
if (params.selectedBottomTabsButtonColor.hasColor()) {
|
45
|
45
|
setAccentColor(params.selectedBottomTabsButtonColor.getColor());
|
46
|
46
|
}
|