Update: updateAllWallets has no callback or promise, using timer as a stop-gap measure to allow for wallets to initialize

This commit is contained in:
Sam Cheng Hung 2018-04-11 17:31:12 +08:00
commit 1615034bbc

View file

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