added bitcoin and bitcoin cash aliases to config and use them everywhere

This commit is contained in:
Kadir Sekha 2017-11-01 16:26:42 +09:00
commit a730c8e2d2
9 changed files with 41 additions and 12 deletions

View file

@ -23,6 +23,9 @@ angular.module('copayApp.controllers').controller('importController',
value: false
};
$scope.bitcoinAlias = (config.bitcoinAlias || defaults.bitcoinAlias).toUpperCase();
$scope.bitcoinCashAlias = (config.bitcoinCashAlias || defaults.bitcoinCashAlias).toUpperCase();
if (config.cashSupport) $scope.enableCash = true;
if ($stateParams.code)