diff options
Diffstat (limited to 'www/js/EventCtrl.js')
| -rw-r--r-- | www/js/EventCtrl.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 76d0937a..816d25e4 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -837,6 +837,7 @@ angular.module('zmApp.controllers') //reset badge count + if (window.cordova && window.cordova.plugins.notification) { $cordovaBadge.set(0).then(function() { // You have permission, badge set. }, function(err) { @@ -845,6 +846,7 @@ angular.module('zmApp.controllers') }); $cordovaLocalNotification.clearAll(); + } }); |
