diff --git a/src/js/controllers/walletDetails.js b/src/js/controllers/walletDetails.js index 1c1af142e..8756efd59 100644 --- a/src/js/controllers/walletDetails.js +++ b/src/js/controllers/walletDetails.js @@ -347,9 +347,6 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun $scope.addressbook = ab || {}; }); - $scope.updateAll(); - refreshAmountSection(); - listeners = [ $rootScope.$on('bwsEvent', function(e, walletId) { if (walletId == $scope.wallet.id && e.type != 'NewAddress') @@ -362,6 +359,11 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun ]; }); + $scope.$on("$ionicView.afterEnter", function(event, data) { + $scope.updateAll(); + refreshAmountSection(); + }); + $scope.$on("$ionicView.beforeLeave", function(event, data) { if ($window.StatusBar) { $window.StatusBar.backgroundColorByHexString('#1e3186');