|
|
|
@ -100,7 +100,7 @@ router.on("routeChange", function (newRoute) {
|
|
|
|
|
|
|
|
|
|
function setAppTheme(theme) {
|
|
|
|
|
if (theme == "light") {
|
|
|
|
|
$("#app").removeClass("theme-dark");
|
|
|
|
|
$("body").removeClass("theme-dark");
|
|
|
|
|
if (platform_type == "cordova" && typeof StatusBar !== 'undefined') {
|
|
|
|
|
StatusBar.styleDefault();
|
|
|
|
|
if (device.platform == "Android") {
|
|
|
|
@ -110,7 +110,7 @@ function setAppTheme(theme) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} else if (theme == "dark") {
|
|
|
|
|
$("#app").addClass("theme-dark");
|
|
|
|
|
$("body").addClass("theme-dark");
|
|
|
|
|
if (platform_type == "cordova" && typeof StatusBar !== 'undefined') {
|
|
|
|
|
StatusBar.styleLightContent();
|
|
|
|
|
StatusBar.backgroundColorByHexString("#000000");
|
|
|
|
|