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