fix refreshs
This commit is contained in:
parent
df08491edb
commit
d7080bb2c9
3 changed files with 16 additions and 22 deletions
|
|
@ -32,7 +32,9 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
|||
return;
|
||||
}
|
||||
wallet.status = status;
|
||||
$scope.$apply();
|
||||
$timeout(function(){
|
||||
$scope.$apply();
|
||||
}, 1);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,10 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
|||
setPendingTxps(status.pendingTxps);
|
||||
|
||||
$scope.status = status;
|
||||
$scope.$apply();
|
||||
$timeout(function(){
|
||||
$scope.$apply();
|
||||
}, 1);
|
||||
|
||||
});
|
||||
};
|
||||
|
||||
|
|
@ -126,7 +129,10 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
|||
$scope.updatingTxHistoryProgress = txs ? txs.length : 0;
|
||||
$scope.completeTxHistory = txs;
|
||||
$scope.showHistory();
|
||||
$scope.$digest();
|
||||
$timeout(function(){
|
||||
$scope.$apply();
|
||||
}, 1);
|
||||
|
||||
};
|
||||
|
||||
$timeout(function() {
|
||||
|
|
@ -142,7 +148,9 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
|||
$scope.completeTxHistory = txHistory;
|
||||
|
||||
$scope.showHistory();
|
||||
$scope.$apply();
|
||||
$timeout(function(){
|
||||
$scope.$apply();
|
||||
}, 1);
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue