From b1135e84532885d40cbeaab5a4fd8f4151c06a5a Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sun, 20 Sep 2020 09:26:35 -0400 Subject: android may have a badge too --- www/js/EventCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3