diff --git a/config.xml b/config.xml index 3c6c596..7c53290 100644 --- a/config.xml +++ b/config.xml @@ -23,7 +23,7 @@ - + diff --git a/www/js/platform.js b/www/js/platform.js index 9363019..1b43da2 100644 --- a/www/js/platform.js +++ b/www/js/platform.js @@ -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"); } } }