summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-04-04 16:15:27 -0400
committerPliable Pixels <pliablepixels@gmail.com>2020-04-04 16:15:27 -0400
commit5b3f2e9614a4765e25be0086a8367c0e01f47af7 (patch)
tree1d4fb4410b8805a171ebc77b175f80211e75158e /www/js
parent797ee25d92e6e2eba8429ad36a11d334ecee22af (diff)
#919 - use the right patch for statusbar, put no overlay for iOS in config
Diffstat (limited to 'www/js')
-rwxr-xr-xwww/js/app.js9
1 files changed, 3 insertions, 6 deletions
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");
}