|
@@ -43,7 +43,7 @@ public class StyleParamsParser {
|
43
|
43
|
result.titleBarSubtitleColor = getColor("titleBarSubtitleColor", getDefaultSubtitleBarColor());
|
44
|
44
|
result.titleBarButtonColor = getColor("titleBarButtonColor", getTitleBarButtonColor());
|
45
|
45
|
result.titleBarDisabledButtonColor = getColor("titleBarDisabledButtonColor", getTitleBarDisabledButtonColor());
|
46
|
|
- result.titleBarTitleFont = getString("titleBarTitleFont", "");
|
|
46
|
+ result.titleBarTitleFont = params.getString("titleBarTitleFont", "");
|
47
|
47
|
result.titleBarTitleTextCentered = getBoolean("titleBarTitleTextCentered", false);
|
48
|
48
|
result.backButtonHidden = getBoolean("backButtonHidden", getDefaultBackButtonHidden());
|
49
|
49
|
result.topTabsHidden = getBoolean("topTabsHidden", getDefaultTopTabsHidden());
|
|
@@ -249,9 +249,4 @@ public class StyleParamsParser {
|
249
|
249
|
private int getInt(String key, int defaultValue) {
|
250
|
250
|
return params.containsKey(key) ? params.getInt(key) : defaultValue;
|
251
|
251
|
}
|
252
|
|
-
|
253
|
|
- private String getString(String key, String defaultValue) {
|
254
|
|
- return params.containsKey(key) ? params.getString(key) : defaultValue;
|
255
|
|
- }
|
256
|
|
-
|
257
|
252
|
}
|