|
|
|
@ -45,10 +45,6 @@ function initCordova() {
|
|
|
|
|
}, false);
|
|
|
|
|
|
|
|
|
|
document.addEventListener("deviceready", function () {
|
|
|
|
|
if (cordova.platformId == 'android') {
|
|
|
|
|
StatusBar.backgroundColorByHexString("#D32F2F");
|
|
|
|
|
StatusBar.styleLightContent();
|
|
|
|
|
}
|
|
|
|
|
}, false);
|
|
|
|
|
|
|
|
|
|
openBrowser = function (url) {
|
|
|
|
@ -60,11 +56,13 @@ function initCordova() {
|
|
|
|
|
$("#app").addClass("theme-dark");
|
|
|
|
|
if (cordova.platformId == 'android') {
|
|
|
|
|
StatusBar.styleBlackOpaque();
|
|
|
|
|
StatusBar.backgroundColorByHexString("#000000");
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
$("#app").removeClass("theme-dark");
|
|
|
|
|
if (cordova.platformId == 'android') {
|
|
|
|
|
StatusBar.styleDefault();
|
|
|
|
|
StatusBar.backgroundColorByHexString("#E0E0E0");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|