disable hardware wallets
This commit is contained in:
parent
8fc5ce22a7
commit
06ebb10e9a
3 changed files with 12 additions and 3 deletions
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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() {
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue