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:
parent
7c8c33a0c7
commit
1615034bbc
1 changed files with 4 additions and 1 deletions
|
|
@ -84,7 +84,10 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
||||||
$scope.$on("$ionicView.enter", function(event, data) {
|
$scope.$on("$ionicView.enter", function(event, data) {
|
||||||
$ionicNavBarDelegate.showBar(true);
|
$ionicNavBarDelegate.showBar(true);
|
||||||
updateAllWallets();
|
updateAllWallets();
|
||||||
profileService.initBitcoinCoreDisplay();
|
|
||||||
|
$timeout(function() {
|
||||||
|
profileService.initBitcoinCoreDisplay();
|
||||||
|
}, 1000);
|
||||||
|
|
||||||
addressbookService.list(function(err, ab) {
|
addressbookService.list(function(err, ab) {
|
||||||
if (err) $log.error(err);
|
if (err) $log.error(err);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue