Fix toggle

This commit is contained in:
Gustavo Maximiliano Cortez 2017-06-12 16:53:03 -03:00
commit 210d867c59
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
2 changed files with 10 additions and 4 deletions

View file

@ -17,6 +17,7 @@ angular.module('copayApp.controllers').controller('importController',
$scope.formData.account = 1;
$scope.importErr = false;
$scope.isCopay = appConfigService.name == 'copay';
$scope.fromHardwareWallet = { value: false };
if ($stateParams.code)
$scope.processWalletInfo($stateParams.code);
@ -273,7 +274,7 @@ angular.module('copayApp.controllers').controller('importController',
opts.passphrase = $scope.formData.passphrase || null;
if ($scope.formData.fromHardwareWallet) {
if ($scope.fromHardwareWallet.value) {
$log.debug('Importing seed from hardware wallet');
$log.warn('This wont work for Intel TEE wallets');