Adds setting for bitcoin cash support
This commit is contained in:
parent
2a45533797
commit
7d64827616
12 changed files with 34 additions and 51 deletions
|
|
@ -5,6 +5,7 @@ angular.module('copayApp.controllers').controller('importController',
|
|||
|
||||
var reader = new FileReader();
|
||||
var defaults = configService.getDefaults();
|
||||
var config = configService.getSync();
|
||||
var errors = bwcService.getErrors();
|
||||
|
||||
$scope.init = function() {
|
||||
|
|
@ -20,6 +21,8 @@ angular.module('copayApp.controllers').controller('importController',
|
|||
$scope.isCopay = appConfigService.name == 'copay';
|
||||
$scope.fromHardwareWallet = { value: false };
|
||||
|
||||
if (config.cashSupport.enabled) $scope.enableCash = true;
|
||||
|
||||
if ($stateParams.code)
|
||||
$scope.processWalletInfo($stateParams.code);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue