From ca768975f2d0258e4e09acc896cee4dd1ee5b0ca Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 29 Aug 2020 10:14:04 -0400 Subject: make sure we don't show 0 alarm bell in ECtrl --- package.json | 6 +----- www/js/EventCtrl.js | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 92edf08e..5dbc127c 100644 --- a/package.json +++ b/package.json @@ -70,10 +70,7 @@ "ANDROID_GSON_VERSION": "2.8.6" }, "cordova-plugin-media-pp-fork": {}, - "cordova-plugin-advanced-http": {}, - "cordova-plugin-ionic-webview": { - "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+" - } + "cordova-plugin-advanced-http": {} } }, "dependencies": { @@ -100,7 +97,6 @@ "cordova-plugin-ignore-lint-translation": "0.0.1", "cordova-plugin-insomnia": "^4.3.0", "cordova-plugin-ionic-keyboard": "^2.2.0", - "cordova-plugin-ionic-webview": "git+https://github.com/pliablepixels/cordova-plugin-ionic-webview.git", "cordova-plugin-media-pp-fork": "^1.0.2-dev", "cordova-plugin-multi-window": "0.0.3", "cordova-plugin-network-information": "^2.0.2", diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 3027de01..a6e89d6c 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -2482,7 +2482,7 @@ angular.module('zmApp.controllers') }); // also clear bells $rootScope.alarmCount = "0"; - $rootScope.isAlarm = !$rootScope.isAlarm; + $rootScope.isAlarm = 0; // reset badge count if (window.FirebasePlugin && $rootScope.platformOS == 'ios') { -- cgit v1.2.3