mirror of https://github.com/BTCPrivate/copay.git
prevent to go back after select the fee
This commit is contained in:
parent
9c2d4e7d73
commit
9349462411
|
@ -21,14 +21,13 @@ angular.module('copayApp.controllers').controller('preferencesFeeController', fu
|
||||||
configService.set(opts, function(err) {
|
configService.set(opts, function(err) {
|
||||||
if (err) $log.debug(err);
|
if (err) $log.debug(err);
|
||||||
$scope.currentFeeLevel = newFee.level;
|
$scope.currentFeeLevel = newFee.level;
|
||||||
$ionicHistory.goBack();
|
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$scope.$apply();
|
$scope.$apply();
|
||||||
}, 100);
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.$on("$ionicView.enter", function(event, data){
|
$scope.$on("$ionicView.enter", function(event, data) {
|
||||||
$scope.feeOpts = feeService.feeOpts;
|
$scope.feeOpts = feeService.feeOpts;
|
||||||
$scope.currentFeeLevel = feeService.getCurrentFeeLevel();
|
$scope.currentFeeLevel = feeService.getCurrentFeeLevel();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue