diff --git a/config.xml b/config.xml index 2535bf6..51ecec7 100644 --- a/config.xml +++ b/config.xml @@ -1,5 +1,5 @@ - + Helena Express @@ -35,6 +35,7 @@ + @@ -72,7 +73,7 @@ - + diff --git a/package.json b/package.json index 42b21be..e8fb0cb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.netsyms.helenaexpress.app", "displayName": "Helena Express", - "version": "1.9.3", + "version": "1.9.4", "description": "App to request and track shipping services", "product_string": "Helena Express", "main": "www/index.html", diff --git a/www/assets/js/main.js b/www/assets/js/main.js index d673e23..aacab80 100644 --- a/www/assets/js/main.js +++ b/www/assets/js/main.js @@ -27,7 +27,14 @@ var app = new Framework7({ tapHold: true }, statusbar: { - enabled: false + enabled: true, + iosOverlaysWebView: true, + androidOverlaysWebView: false, + iosBackgroundColor: "#e8f9fe", + androidBackgroundColor: "#e8f9fe", + scrollTopOnClick: false, + iosTextColor: "black", + androidTextColor: "black" }, init: false, initOnDeviceReady: false, @@ -110,14 +117,18 @@ function setAppTheme(theme) { if (theme == "light") { $("body").removeClass("dark"); if (platform_type == "cordova" && typeof StatusBar !== 'undefined') { - StatusBar.backgroundColorByHexString("#e8f9fe"); - StatusBar.styleDefault(); + app.statusbar.setTextColor("black"); + app.statusbar.setBackgroundColor("#e8f9fe"); + //StatusBar.backgroundColorByHexString("#e8f9fe"); + //StatusBar.styleDefault(); } } else if (theme == "dark") { $("body").addClass("dark"); if (platform_type == "cordova" && typeof StatusBar !== 'undefined') { - StatusBar.backgroundColorByName("black"); - StatusBar.styleLightContent(); + app.statusbar.setTextColor("white"); + app.statusbar.setBackgroundColor("#000000"); + //StatusBar.backgroundColorByName("black"); + //StatusBar.styleLightContent(); } } } diff --git a/www/package.json b/www/package.json index c115156..e1dfb42 100644 --- a/www/package.json +++ b/www/package.json @@ -1,6 +1,6 @@ { "name": "HelenaExpressApp", - "version": "1.9.3", + "version": "1.9.4", "main": "index.html", "license": "MPL-2.0", "dependencies": {