load after enter

This commit is contained in:
JDonadio 2017-02-10 13:35:49 -03:00
commit 7a1676868f

View file

@ -183,7 +183,7 @@ angular.module('copayApp.controllers').controller('addressesController', functio
else return false;
};
$scope.$on("$ionicView.beforeEnter", function(event, data) {
$scope.$on("$ionicView.afterEnter", function(event, data) {
$scope.allAddressesView = data.stateName == 'tabs.receive.allAddresses' ? true : false;
if (!isCachedWallet($stateParams.walletId)) $scope.init();
else $log.debug('Addresses cached for Wallet:', $stateParams.walletId);