From d3a75fb099afead90cba6103f5d34bea41c56f7b Mon Sep 17 00:00:00 2001 From: magmahindenburg Date: Sun, 18 Jun 2017 17:45:46 +0900 Subject: [PATCH] Fixed a bug where notifications are displayed twice. Redundant notifications are now removed --- src/js/controllers/activity.js | 24 ++++++++++++++++++++++++ src/js/controllers/tab-home.js | 23 +++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/src/js/controllers/activity.js b/src/js/controllers/activity.js index 9ea9a31e9..3d3495755 100644 --- a/src/js/controllers/activity.js +++ b/src/js/controllers/activity.js @@ -11,6 +11,30 @@ angular.module('copayApp.controllers').controller('activityController', $log.error(err); return; } + + var txIdList = []; + + var notificationsBeforeCheck = n.length; + + for (var i=0; i