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];
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() {