Skip to content

Commit 974db8d

Browse files
authored
Merge pull request #901 from crazyserver/MOBILE-1980
MOBILE-1980 pushnotifications: Update app adge when deleting site
2 parents 96fbd1f + 03211de commit 974db8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

www/addons/pushnotifications/services/pushnotifications.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,8 @@ angular.module('mm.addons.pushnotifications')
360360
promises.push(db.remove(mmaPushNotificationsBadgeStore, [entry.siteid, entry.addon]));
361361
});
362362
return $q.all(promises);
363+
}).finally(function() {
364+
self.updateAppCounter();
363365
});
364366

365367
};

0 commit comments

Comments
 (0)