From c675e395dbbf386d2371ac3819b2a4539bf25e95 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 11 May 2020 11:37:25 +0200 Subject: [PATCH] keystore source display --- .../sparrowwallet/drongo/wallet/KeystoreSource.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/drongo/wallet/KeystoreSource.java b/src/main/java/com/sparrowwallet/drongo/wallet/KeystoreSource.java index acf8c44..b3c4b31 100644 --- a/src/main/java/com/sparrowwallet/drongo/wallet/KeystoreSource.java +++ b/src/main/java/com/sparrowwallet/drongo/wallet/KeystoreSource.java @@ -1,5 +1,15 @@ package com.sparrowwallet.drongo.wallet; public enum KeystoreSource { - HW_USB, HW_AIRGAPPED, SW_SEED, SW_WATCH; + HW_USB("Connected Hardware Wallet"), HW_AIRGAPPED("Airgapped Hardware Wallet"), SW_SEED("Software Wallet"), SW_WATCH("Watch Only Wallet"); + + private String displayName; + + KeystoreSource(String displayName) { + this.displayName = displayName; + } + + public String getDisplayName() { + return displayName; + } }