summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/EventCtrl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js
index 4e1417f7..b770dd7c 100644
--- a/www/js/EventCtrl.js
+++ b/www/js/EventCtrl.js
@@ -2752,7 +2752,7 @@ angular.module('zmApp.controllers')
$rootScope.isAlarm = 0;
// reset badge count
- if (window.FirebasePlugin && $rootScope.platformOS == 'ios') {
+ if (window.FirebasePlugin && $rootScope.platformOS != 'desktop') {
NVR.debug ('Clearing app badge count');
window.FirebasePlugin.setBadgeNumber(0);