Options also translatable

This commit is contained in:
Sebastiaan Pasma 2018-07-19 09:59:56 +02:00
commit 4f4bee27f1
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
3 changed files with 14 additions and 4 deletions

View file

@ -16,7 +16,7 @@ angular.module('copayApp.controllers').controller('tabSettingsController', funct
isoCode: config.wallet.settings.alternativeIsoCode
};
$scope.selectedPriceDisplay = config.wallet.settings.priceDisplay;
$scope.selectedPriceDisplay = config.wallet.settings.priceDisplay === 'crypto' ? gettextCatalog.getString('Cryptocurrency') : gettextCatalog.getString('Fiat');
// TODO move this to a generic service
bitpayAccountService.getAccounts(function(err, data) {