fix display average time and rate fee/kiB
This commit is contained in:
parent
6a4b05010d
commit
a0ad5eef14
1 changed files with 4 additions and 2 deletions
|
|
@ -1,9 +1,8 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesFeeController', function($scope, configService, feeService) {
|
||||
angular.module('copayApp.controllers').controller('preferencesFeeController', function($scope, $timeout, configService, feeService) {
|
||||
|
||||
$scope.loading = true;
|
||||
|
||||
feeService.getFeeLevels(function(levels) {
|
||||
$scope.loading = false;
|
||||
$scope.feeOpts = feeService.feeOpts;
|
||||
|
|
@ -24,6 +23,9 @@ angular.module('copayApp.controllers').controller('preferencesFeeController', fu
|
|||
configService.set(opts, function(err) {
|
||||
if (err) $log.debug(err);
|
||||
$scope.currentFeeLevel = newFee.level;
|
||||
$timeout(function() {
|
||||
$scope.$apply();
|
||||
}, 10);
|
||||
});
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue