|
|
@ -102,7 +102,11 @@ function setAppTheme(theme) {
|
|
|
|
$("#app").removeClass("theme-dark");
|
|
|
|
$("#app").removeClass("theme-dark");
|
|
|
|
if (platform_type == "cordova" && typeof StatusBar !== 'undefined') {
|
|
|
|
if (platform_type == "cordova" && typeof StatusBar !== 'undefined') {
|
|
|
|
StatusBar.styleDefault();
|
|
|
|
StatusBar.styleDefault();
|
|
|
|
StatusBar.backgroundColorByHexString("#d0f2fc");
|
|
|
|
if (device.platform == "Android") {
|
|
|
|
|
|
|
|
StatusBar.backgroundColorByHexString("#9ebfc9");
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
StatusBar.backgroundColorByHexString("#d0f2fc");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if (theme == "dark") {
|
|
|
|
} else if (theme == "dark") {
|
|
|
|
$("#app").addClass("theme-dark");
|
|
|
|
$("#app").addClass("theme-dark");
|
|
|
|