From 5b3f2e9614a4765e25be0086a8367c0e01f47af7 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 4 Apr 2020 16:15:27 -0400 Subject: #919 - use the right patch for statusbar, put no overlay for iOS in config --- www/js/app.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'www/js') diff --git a/www/js/app.js b/www/js/app.js index 225251e5..83937aff 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -1150,9 +1150,9 @@ angular.module('zmApp', [ $rootScope.platformOS = "desktop"; NVR.log("Device is ready"); - + //console.log ("*************** PLATFORM IS: "+ionic.Platform.platform()); // var ld = NVR.getLogin(); - if ($ionicPlatform.is('ios')) + if ($ionicPlatform.is('ios') || ionic.Platform.platform() == 'macintel') $rootScope.platformOS = "ios"; if ($ionicPlatform.is('android')) $rootScope.platformOS = "android"; @@ -1758,10 +1758,7 @@ angular.module('zmApp', [ // console.log("statusbar"); NVR.log("Updating statusbar"); StatusBar.styleDefault(); - if ($rootScope.platformOS == 'ios') { - // console.log ("<<<<<<<<<<<<<<<< OVERLAY"); - StatusBar.overlaysWebView(false); - } + StatusBar.backgroundColorByHexString("#2980b9"); } -- cgit v1.2.3