|
@@ -23,7 +23,7 @@ public class TopBarOptions implements DEFAULT_VALUES {
|
23
|
23
|
if (json == null) return options;
|
24
|
24
|
|
25
|
25
|
options.title = TitleOptions.parse(typefaceManager, json.optJSONObject("title"));
|
26
|
|
- options.background = TopBarBackground.parse(json.optJSONObject("background"));
|
|
26
|
+ options.background = TopBarBackgroundOptions.parse(json.optJSONObject("background"));
|
27
|
27
|
options.visible = BoolParser.parse(json, "visible");
|
28
|
28
|
options.animate = BoolParser.parse(json,"animate");
|
29
|
29
|
options.hideOnScroll = BoolParser.parse(json,"hideOnScroll");
|
|
@@ -37,7 +37,7 @@ public class TopBarOptions implements DEFAULT_VALUES {
|
37
|
37
|
|
38
|
38
|
public TitleOptions title = new TitleOptions();
|
39
|
39
|
public Text testId = new NullText();
|
40
|
|
- public TopBarBackground background = new TopBarBackground();
|
|
40
|
+ public TopBarBackgroundOptions background = new TopBarBackgroundOptions();
|
41
|
41
|
public Bool visible = new NullBool();
|
42
|
42
|
public Bool animate = new NullBool();
|
43
|
43
|
public Bool hideOnScroll = new NullBool();
|