fix tx-details

This commit is contained in:
Matias Alejo Garcia 2017-06-23 12:20:51 -03:00
commit 0890f9e5e5
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
2 changed files with 11 additions and 6 deletions

View file

@ -118,12 +118,17 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio
initActionList();
getFiatRate();
feeService.getLowAmount($scope.wallet, function(err, amount) {
$scope.btx.lowAmount = tx.amount< amount;
});
feeService.getFeeLevels(function(err, levels) {
if (err) return;
walletService.getLowAmount($scope.wallet, levels, function(err, amount) {
if (err) return;
$scope.btx.lowAmount = tx.amount < amount;
$timeout(function() {
$scope.$apply();
$timeout(function() {
$scope.$apply();
});
});
});
});
};