From 1615034bbcc31e39e62b70da05c52c44c1b23bcc Mon Sep 17 00:00:00 2001 From: Sam Cheng Hung Date: Wed, 11 Apr 2018 17:31:12 +0800 Subject: [PATCH] Update: updateAllWallets has no callback or promise, using timer as a stop-gap measure to allow for wallets to initialize --- src/js/controllers/tab-home.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/js/controllers/tab-home.js b/src/js/controllers/tab-home.js index e14c49cd1..2068972ba 100644 --- a/src/js/controllers/tab-home.js +++ b/src/js/controllers/tab-home.js @@ -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);