removed stupid useless progress function!?
This commit is contained in:
parent
ca7c25d01e
commit
e1667d0780
1 changed files with 1 additions and 12 deletions
|
|
@ -161,23 +161,12 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
||||||
|
|
||||||
var updateTxHistory = function(cb) {
|
var updateTxHistory = function(cb) {
|
||||||
if (!cb) cb = function() {};
|
if (!cb) cb = function() {};
|
||||||
|
|
||||||
$scope.updateTxHistoryError = false;
|
$scope.updateTxHistoryError = false;
|
||||||
$scope.updatingTxHistoryProgress = 0;
|
$scope.updatingTxHistoryProgress = 0;
|
||||||
|
|
||||||
var progressFn = function(txs, newTxs) {
|
|
||||||
$scope.updatingTxHistoryProgress = newTxs;
|
|
||||||
$scope.completeTxHistory = txs;
|
|
||||||
$scope.showHistory();
|
|
||||||
$timeout(function() {
|
|
||||||
$scope.$apply();
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
feeService.getFeeLevels($scope.wallet.coin, function(err, levels) {
|
feeService.getFeeLevels($scope.wallet.coin, function(err, levels) {
|
||||||
walletService.getTxHistory($scope.wallet, {
|
walletService.getTxHistory($scope.wallet, {
|
||||||
progressFn: progressFn,
|
feeLevels: levels
|
||||||
feeLevels: levels,
|
|
||||||
}, function(err, txHistory) {
|
}, function(err, txHistory) {
|
||||||
$scope.updatingTxHistory = false;
|
$scope.updatingTxHistory = false;
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue