summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-09-20 09:26:35 -0400
committerPliable Pixels <pliablepixels@gmail.com>2020-09-20 09:26:35 -0400
commitb1135e84532885d40cbeaab5a4fd8f4151c06a5a (patch)
treea36438f7e0951d984a4f16c9751139666e1aecbe /www/js
parentae576a8a6f393f29c5656190694ea8422a6ef101 (diff)
android may have a badge too
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);