|
@@ -30,6 +30,7 @@ public class BottomTabsOptions {
|
30
|
30
|
options.currentTabIndex = NumberParser.parse(json,"currentTabIndex");
|
31
|
31
|
options.visible = BoolParser.parse(json,"visible");
|
32
|
32
|
options.drawBehind = BoolParser.parse(json, "drawBehind");
|
|
33
|
+ options.preferLargeIcons = BoolParser.parse(json, "preferLargeIcons");
|
33
|
34
|
options.animate = BoolParser.parse(json,"animate");
|
34
|
35
|
options.elevation = FractionParser.parse(json, "elevation");
|
35
|
36
|
options.testId = TextParser.parse(json, "testID");
|
|
@@ -43,6 +44,7 @@ public class BottomTabsOptions {
|
43
|
44
|
public Bool visible = new NullBool();
|
44
|
45
|
public Bool drawBehind = new NullBool();
|
45
|
46
|
public Bool animate = new NullBool();
|
|
47
|
+ public Bool preferLargeIcons = new NullBool();
|
46
|
48
|
public Number currentTabIndex = new NullNumber();
|
47
|
49
|
public Fraction elevation = new NullFraction();
|
48
|
50
|
public Text currentTabId = new NullText();
|
|
@@ -56,6 +58,7 @@ public class BottomTabsOptions {
|
56
|
58
|
if (other.visible.hasValue()) visible = other.visible;
|
57
|
59
|
if (other.drawBehind.hasValue()) drawBehind = other.drawBehind;
|
58
|
60
|
if (other.animate.hasValue()) animate = other.animate;
|
|
61
|
+ if (other.preferLargeIcons.hasValue()) preferLargeIcons = other.preferLargeIcons;
|
59
|
62
|
if (other.elevation.hasValue()) elevation = other.elevation;
|
60
|
63
|
if (other.backgroundColor.hasValue()) backgroundColor = other.backgroundColor;
|
61
|
64
|
if (other.testId.hasValue()) testId = other.testId;
|
|
@@ -69,6 +72,7 @@ public class BottomTabsOptions {
|
69
|
72
|
if (!visible.hasValue()) visible = defaultOptions.visible;
|
70
|
73
|
if (!drawBehind.hasValue()) drawBehind = defaultOptions.drawBehind;
|
71
|
74
|
if (!animate.hasValue()) animate = defaultOptions.animate;
|
|
75
|
+ if (!preferLargeIcons.hasValue()) preferLargeIcons = defaultOptions.preferLargeIcons;
|
72
|
76
|
if (!elevation.hasValue()) elevation = defaultOptions.elevation;
|
73
|
77
|
if (!backgroundColor.hasValue()) backgroundColor = defaultOptions.backgroundColor;
|
74
|
78
|
if (!titleDisplayMode.hasValue()) titleDisplayMode = defaultOptions.titleDisplayMode;
|