Improvement - 172 - Make default price display in fiat
This commit is contained in:
parent
463eed2583
commit
12f1c2e28a
9 changed files with 118 additions and 2 deletions
|
|
@ -367,6 +367,15 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
|||
});
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
|
||||
configService.whenAvailable(function (config) {
|
||||
$scope.selectedPriceDisplay = config.wallet.settings.priceDisplay;
|
||||
|
||||
$timeout(function () {
|
||||
$scope.apply();
|
||||
});
|
||||
});
|
||||
|
||||
$scope.walletId = data.stateParams.walletId;
|
||||
$scope.wallet = profileService.getWallet($scope.walletId);
|
||||
if (!$scope.wallet) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue