mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-11-02 18:26:43 +00:00
support determining if hww has usb interface
This commit is contained in:
parent
33bf35e3c4
commit
571db32574
1 changed files with 5 additions and 0 deletions
|
@ -75,6 +75,11 @@ public enum WalletModel {
|
||||||
return (this == TAPSIGNER || this == SATSCHIP || this == SATSCARD || this == SATOCHIP);
|
return (this == TAPSIGNER || this == SATSCHIP || this == SATSCARD || this == SATOCHIP);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean hasUsb() {
|
||||||
|
return (this == TREZOR_1 || this == TREZOR_T || this == TREZOR_SAFE_3 || this == LEDGER_NANO_S || this == LEDGER_NANO_X || this == LEDGER_NANO_S_PLUS ||
|
||||||
|
this == DIGITALBITBOX_01 || this == BITBOX_02 || this == COLDCARD || this == KEEPKEY || this == JADE);
|
||||||
|
}
|
||||||
|
|
||||||
public int getMinPinLength() {
|
public int getMinPinLength() {
|
||||||
if(this == SATOCHIP) {
|
if(this == SATOCHIP) {
|
||||||
return 4;
|
return 4;
|
||||||
|
|
Loading…
Reference in a new issue