From b688f20a5ffa35bea6415b8d4f566d6cf7d9d6b0 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Wed, 16 Oct 2019 11:03:38 -0400 Subject: #854 toggle controls --- www/js/MontageCtrl.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'www/js/MontageCtrl.js') diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js index 6292bae9..edca6dbb 100644 --- a/www/js/MontageCtrl.js +++ b/www/js/MontageCtrl.js @@ -1065,6 +1065,20 @@ angular.module('zmApp.controllers') NVR.debug("MontageCtrl: switch minimal is " + $scope.minimal); // console.log("Hide Statusbar"); ionic.Platform.fullScreen($scope.minimal, !$scope.minimal); + + // hiding status bar messes up X + /*if ($scope.minimal) { + if ($rootScope.platformOS !='desktop') { + NVR.debug ('hiding device status bar'); + return StatusBar.hide(); + } + } else { + if ($rootScope.platformOS !='desktop') { + NVR.debug ('showing device status bar'); + return StatusBar.show(); + } + }*/ + //console.log ("minimal switch:Cancelling timer"); $interval.cancel(intervalHandleMontage); //we will renew on reload $interval.cancel(intervalHandleMontageCycle); -- cgit v1.2.3