diff --git a/src/js/controllers/import.js b/src/js/controllers/import.js index 0c3fbdf7d..331a2bfff 100644 --- a/src/js/controllers/import.js +++ b/src/js/controllers/import.js @@ -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'); diff --git a/www/views/tab-import-phrase.html b/www/views/tab-import-phrase.html index 50d021038..5b692f17e 100644 --- a/www/views/tab-import-phrase.html +++ b/www/views/tab-import-phrase.html @@ -50,11 +50,16 @@ - - From Hardware Wallet + + From Hardware Wallet - + Testnet