Improve detection of supported hw wallets.
This commit is contained in:
parent
0c69dfb061
commit
8d63fa3507
6 changed files with 30 additions and 27 deletions
|
|
@ -1,13 +1,14 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.services')
|
||||
.factory('trezor', function($log, $timeout, lodash, bitcore, hwWallet) {
|
||||
.factory('trezor', function($log, $timeout, lodash, bitcore, hwWallet, platformInfo) {
|
||||
var root = {};
|
||||
|
||||
var SETTLE_TIME = 3000;
|
||||
root.callbacks = {};
|
||||
|
||||
root.description = {
|
||||
supported: platformInfo.supportsTrezor,
|
||||
id: 'trezor',
|
||||
name: 'Trezor',
|
||||
longName: 'Trezor Hardware Wallet',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue