|
|
|
@ -59,13 +59,12 @@ function initCordova() {
|
|
|
|
|
if (localStorage.getItem("darktheme") == "true") {
|
|
|
|
|
$("#app").addClass("theme-dark");
|
|
|
|
|
if (cordova.platformId == 'android') {
|
|
|
|
|
StatusBar.styleDefault();
|
|
|
|
|
StatusBar.styleBlackOpaque();
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
$("#app").removeClass("theme-dark");
|
|
|
|
|
if (cordova.platformId == 'android') {
|
|
|
|
|
StatusBar.backgroundColorByHexString("#D32F2F");
|
|
|
|
|
StatusBar.styleLightContent();
|
|
|
|
|
StatusBar.styleDefault();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|