removed stupid console log showing redundant notifications
This commit is contained in:
parent
1e182d0aa9
commit
06b5108133
2 changed files with 0 additions and 5 deletions
|
|
@ -30,10 +30,6 @@ angular.module('copayApp.controllers').controller('activityController',
|
||||||
var notificationsAfterCheck = n.length;
|
var notificationsAfterCheck = n.length;
|
||||||
var removedNotifications = notificationsBeforeCheck - notificationsAfterCheck;
|
var removedNotifications = notificationsBeforeCheck - notificationsAfterCheck;
|
||||||
|
|
||||||
if (notificationsBeforeCheck != notificationsAfterCheck) {
|
|
||||||
console.log("Found a redundant notification. Removed " + removedNotifications);
|
|
||||||
}
|
|
||||||
|
|
||||||
console.log(n);
|
console.log(n);
|
||||||
|
|
||||||
$scope.fetchingNotifications = false;
|
$scope.fetchingNotifications = false;
|
||||||
|
|
|
||||||
|
|
@ -289,7 +289,6 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
||||||
var removedNotifications = notificationsBeforeCheck - notificationsAfterCheck;
|
var removedNotifications = notificationsBeforeCheck - notificationsAfterCheck;
|
||||||
|
|
||||||
if (notificationsBeforeCheck != notificationsAfterCheck) {
|
if (notificationsBeforeCheck != notificationsAfterCheck) {
|
||||||
console.log("Found a redundant notification. Removed " + removedNotifications);
|
|
||||||
total = total - removedNotifications;
|
total = total - removedNotifications;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue