Merge pull request #4323 from JDonadio/bug/fee
Bug fee selection on mobile
This commit is contained in:
commit
a0c64ea88d
3 changed files with 18 additions and 15 deletions
|
|
@ -20,6 +20,10 @@
|
|||
z-index: -1;
|
||||
}
|
||||
|
||||
.item-radio .radio-icon {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.popup-container.active .popup {
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,9 @@ angular.module('copayApp.controllers').controller('preferencesFeeController',
|
|||
feeService.getFeeLevels(function(levels) {
|
||||
self.loading = false;
|
||||
self.feeOpts = feeService.feeOpts;
|
||||
self.currentFeeLevel = feeService.getCurrentFeeLevel();
|
||||
$scope.data = {
|
||||
currentFeeLevel: feeService.getCurrentFeeLevel()
|
||||
};
|
||||
self.feeLevels = levels;
|
||||
$scope.$apply();
|
||||
});
|
||||
|
|
@ -20,14 +22,14 @@ angular.module('copayApp.controllers').controller('preferencesFeeController',
|
|||
var opts = {
|
||||
wallet: {
|
||||
settings: {
|
||||
feeLevel: newFee
|
||||
feeLevel: newFee.level
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
configService.set(opts, function(err) {
|
||||
if (err) $log.debug(err);
|
||||
self.currentFeeLevel = feeService.getCurrentFeeLevel();
|
||||
$scope.currentFeeLevel = newFee.level;
|
||||
});
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue