diff --git a/src/main/java/com/sparrowwallet/drongo/wallet/WalletModel.java b/src/main/java/com/sparrowwallet/drongo/wallet/WalletModel.java index 963575e..4f1e5d1 100644 --- a/src/main/java/com/sparrowwallet/drongo/wallet/WalletModel.java +++ b/src/main/java/com/sparrowwallet/drongo/wallet/WalletModel.java @@ -115,6 +115,30 @@ public enum WalletModel { } } + public boolean showLegacyQR() { + if(this == COBO_VAULT) { + return true; + } else { + return false; + } + } + + public boolean showBbqr() { + if(this == COLDCARD || this == SPARROW) { + return true; + } else { + return false; + } + } + + public boolean selectBbqr() { + if(this == COLDCARD) { + return true; + } else { + return false; + } + } + public static WalletModel fromType(String type) { for(WalletModel model : values()) { if(model.getType().equalsIgnoreCase(type)) {