Skip to content

Commit

Permalink
start checkBalances only after GUI app has shown balances
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyofbyteball committed Sep 4, 2021
1 parent 7853f6f commit 3d93c64
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/js/controllers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1517,6 +1517,12 @@ angular.module('copayApp.controllers').controller('indexController', function($r
$timeout(function() {
$rootScope.$apply();
});

if (!self.bFirstBalanceDone) {
self.bFirstBalanceDone = true;
console.log('first balance done');
eventBus.emit('app_ready');
}
};


Expand Down

0 comments on commit 3d93c64

Please sign in to comment.