Merge pull request #5644 from gabrielbazan7/fix/nowallets

fix No wallets/card/anything in tab-home when resume app
This commit is contained in:
Javier Donadío 2017-02-21 16:31:57 -05:00 committed by GitHub
commit 0e8af84ddc
1 changed files with 4 additions and 1 deletions

View File

@ -75,7 +75,10 @@ angular.module('copayApp.controllers').controller('tabHomeController',
});
$scope.$on("$ionicView.enter", function(event, data) {
updateAllWallets();
$timeout(function() {
updateAllWallets();
});
addressbookService.list(function(err, ab) {
if (err) $log.error(err);