|
@@ -27,6 +27,7 @@ public class Options {
|
27
|
27
|
result.sideMenuRootOptions = SideMenuRootOptions.parse(json.optJSONObject("sideMenu"));
|
28
|
28
|
result.animations = AnimationsOptions.parse(json.optJSONObject("animations"));
|
29
|
29
|
result.modal = ModalOptions.parse(json);
|
|
30
|
+ result.navigationBar = NavigationBarOptions.parse(json.optJSONObject("navigationBar"));
|
30
|
31
|
result.statusBar = StatusBarOptions.parse(json.optJSONObject("statusBar"));
|
31
|
32
|
result.layout = LayoutOptions.parse(json.optJSONObject("layout"));
|
32
|
33
|
result.transitions = Transitions.parse(json.optJSONObject("customTransition"));
|
|
@@ -44,6 +45,7 @@ public class Options {
|
44
|
45
|
@NonNull public AnimationsOptions animations = new AnimationsOptions();
|
45
|
46
|
@NonNull public SideMenuRootOptions sideMenuRootOptions = new SideMenuRootOptions();
|
46
|
47
|
@NonNull public ModalOptions modal = new ModalOptions();
|
|
48
|
+ @NonNull public NavigationBarOptions navigationBar = new NavigationBarOptions();
|
47
|
49
|
@NonNull public StatusBarOptions statusBar = new StatusBarOptions();
|
48
|
50
|
@NonNull public LayoutOptions layout = new LayoutOptions();
|
49
|
51
|
@NonNull public Transitions transitions = new Transitions();
|
|
@@ -65,6 +67,7 @@ public class Options {
|
65
|
67
|
result.sideMenuRootOptions.mergeWith(sideMenuRootOptions);
|
66
|
68
|
result.animations.mergeWith(animations);
|
67
|
69
|
result.modal.mergeWith(modal);
|
|
70
|
+ result.navigationBar.mergeWith(navigationBar);
|
68
|
71
|
result.statusBar.mergeWith(statusBar);
|
69
|
72
|
result.layout.mergeWith(layout);
|
70
|
73
|
result.transitions.mergeWith(transitions);
|
|
@@ -83,6 +86,7 @@ public class Options {
|
83
|
86
|
result.animations.mergeWith(other.animations);
|
84
|
87
|
result.sideMenuRootOptions.mergeWith(other.sideMenuRootOptions);
|
85
|
88
|
result.modal.mergeWith(other.modal);
|
|
89
|
+ result.navigationBar.mergeWith(other.navigationBar);
|
86
|
90
|
result.statusBar.mergeWith(other.statusBar);
|
87
|
91
|
result.layout.mergeWith(other.layout);
|
88
|
92
|
result.transitions.mergeWith(transitions);
|
|
@@ -99,6 +103,7 @@ public class Options {
|
99
|
103
|
animations.mergeWithDefault(defaultOptions.animations);
|
100
|
104
|
sideMenuRootOptions.mergeWithDefault(defaultOptions.sideMenuRootOptions);
|
101
|
105
|
modal.mergeWithDefault(defaultOptions.modal);
|
|
106
|
+ navigationBar.mergeWithDefault(defaultOptions.navigationBar);
|
102
|
107
|
statusBar.mergeWithDefault(defaultOptions.statusBar);
|
103
|
108
|
layout.mergeWithDefault(defaultOptions.layout);
|
104
|
109
|
transitions.mergeWithDefault(defaultOptions.transitions);
|