make explicit refreshes when storing wallet
This commit is contained in:
parent
de1464f95d
commit
22cd4cae94
2 changed files with 25 additions and 29 deletions
|
|
@ -80,6 +80,7 @@ angular.module('copay.controllerUtils')
|
|||
$location.path('addresses');
|
||||
});
|
||||
w.on('refresh', function() {
|
||||
//alert('refresh');
|
||||
root.updateBalance(function() {
|
||||
$rootScope.$digest();
|
||||
});
|
||||
|
|
@ -93,6 +94,7 @@ angular.module('copay.controllerUtils')
|
|||
w.on('openError', root.onErrorDigest);
|
||||
w.on('peer', function(peerID) {
|
||||
video.callPeer(peerID, handlePeerVideo);
|
||||
$rootScope.$digest();
|
||||
});
|
||||
w.on('close', root.onErrorDigest);
|
||||
w.netStart();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue