Fix fee level, preferences by wallet, delete, info
This commit is contained in:
parent
a200d42bcd
commit
a1672e1e95
17 changed files with 106 additions and 128 deletions
|
|
@ -1,12 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesFeeController', function($scope, $timeout, $ionicHistory, $ionicNavBarDelegate, gettextCatalog, configService, feeService) {
|
||||
$ionicNavBarDelegate.title(gettextCatalog.getString('Preferences fee'));
|
||||
angular.module('copayApp.controllers').controller('preferencesFeeController', function($scope, $timeout, $ionicHistory, $ionicNavBarDelegate, gettextCatalog, configService, feeService, ongoingProcess) {
|
||||
$ionicNavBarDelegate.title(gettextCatalog.getString('Bitcoin Network Fee Policy'));
|
||||
|
||||
$scope.init = function() {
|
||||
$scope.loading = true;
|
||||
ongoingProcess.set('gettingFeeLevels', true);
|
||||
feeService.getFeeLevels(function(levels) {
|
||||
$scope.loading = false;
|
||||
ongoingProcess.set('gettingFeeLevels', false);
|
||||
$scope.feeOpts = feeService.feeOpts;
|
||||
$scope.currentFeeLevel = feeService.getCurrentFeeLevel();
|
||||
$scope.feeLevels = levels;
|
||||
|
|
@ -29,7 +29,7 @@ angular.module('copayApp.controllers').controller('preferencesFeeController', fu
|
|||
$ionicHistory.goBack();
|
||||
$timeout(function() {
|
||||
$scope.$apply();
|
||||
}, 10);
|
||||
}, 100);
|
||||
});
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue