disable hardware wallets

This commit is contained in:
Javier 2016-12-06 15:33:00 -03:00
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]; $scope.seedSource = seedOptions[0];
if (n > 1 && isChromeApp) /*
Disable Hardware Wallets
if (n > 1 && isChromeApp) {
seedOptions.push({ seedOptions.push({
id: 'ledger', id: 'ledger',
label: 'Ledger Hardware Wallet', label: 'Ledger Hardware Wallet',
}); });
}
if (isChromeApp || isDevel) { if (isChromeApp || isDevel) {
seedOptions.push({ seedOptions.push({
id: 'trezor', id: 'trezor',
label: 'Trezor Hardware Wallet', label: 'Trezor Hardware Wallet',
}); });
} }
*/
$scope.seedOptions = seedOptions; $scope.seedOptions = seedOptions;
}; };

View file

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

View file

@ -15,7 +15,7 @@
{'border-bottom-style': 'solid'}"> {'border-bottom-style': 'solid'}">
<span translate>File/Text</span> <span translate>File/Text</span>
</div> </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'}"> {'border-bottom-style': 'solid'}">
<span translate>Hardware wallet</span> <span translate>Hardware wallet</span>
</div> </div>