disable hardware wallets

This commit is contained in:
Javier 2016-12-06 15:33:00 -03:00
parent 8fc5ce22a7
commit 06ebb10e9a
3 changed files with 12 additions and 3 deletions

View File

@ -75,18 +75,23 @@ angular.module('copayApp.controllers').controller('createController',
$scope.seedSource = seedOptions[0];
if (n > 1 && isChromeApp)
/*
Disable Hardware Wallets
if (n > 1 && isChromeApp) {
seedOptions.push({
id: 'ledger',
label: 'Ledger Hardware Wallet',
});
}
if (isChromeApp || isDevel) {
seedOptions.push({
id: 'trezor',
label: 'Trezor Hardware Wallet',
});
}
*/
$scope.seedOptions = seedOptions;
};

View File

@ -57,6 +57,9 @@ angular.module('copayApp.controllers').controller('joinController',
}];
$scope.seedSource = self.seedOptions[0];
/*
Disable Hardware Wallets
if (isChromeApp) {
self.seedOptions.push({
@ -71,6 +74,7 @@ angular.module('copayApp.controllers').controller('joinController',
label: 'Trezor Hardware Wallet',
});
}
*/
};
this.setSeedSource = function() {

View File

@ -15,7 +15,7 @@
{'border-bottom-style': 'solid'}">
<span translate>File/Text</span>
</div>
<div class="col" ng-click="hardware = true; phrase = file = false; showAdv = false" ng-style="hardware &&
<div class="col ng-hide" ng-click="hardware = true; phrase = file = false; showAdv = false" ng-style="hardware &&
{'border-bottom-style': 'solid'}">
<span translate>Hardware wallet</span>
</div>