|
@@ -30,7 +30,7 @@ public class StyleParamsParser {
|
30
|
30
|
result.orientation = Orientation.fromString(params.getString("orientation", getDefaultOrientation()));
|
31
|
31
|
result.statusBarColor = getColor("statusBarColor", getDefaultStatusBarColor());
|
32
|
32
|
result.statusBarHidden = getBoolean("statusBarHidden", getDefaultStatusHidden());
|
33
|
|
- result.statusBarTextColorScheme = StatusBarTextColorScheme.fromString(params.getString("statusBarTextColorScheme"));
|
|
33
|
+ result.statusBarTextColorScheme = StatusBarTextColorScheme.fromString(params.getString("statusBarTextColorScheme"), getDefaultStatusBarTextColorScheme());
|
34
|
34
|
result.contextualMenuStatusBarColor = getColor("contextualMenuStatusBarColor", getDefaultContextualMenuStatusBarColor());
|
35
|
35
|
result.contextualMenuButtonsColor = getColor("contextualMenuButtonsColor", getDefaultContextualMenuButtonsColor());
|
36
|
36
|
result.contextualMenuBackgroundColor = getColor("contextualMenuBackgroundColor", getDefaultContextualMenuBackgroundColor());
|
|
@@ -99,6 +99,10 @@ public class StyleParamsParser {
|
99
|
99
|
return result;
|
100
|
100
|
}
|
101
|
101
|
|
|
102
|
+ private StatusBarTextColorScheme getDefaultStatusBarTextColorScheme() {
|
|
103
|
+ return AppStyle.appStyle == null ? StatusBarTextColorScheme.Undefined : AppStyle.appStyle.statusBarTextColorScheme;
|
|
104
|
+ }
|
|
105
|
+
|
102
|
106
|
private String getDefaultOrientation() {
|
103
|
107
|
return AppStyle.appStyle == null ? null : AppStyle.appStyle.orientation.name;
|
104
|
108
|
}
|