From ebf7a3f177b1ccde354016f07ab564f9f4acaa03 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 7 Feb 2022 10:28:09 +0200 Subject: [PATCH] add seedsigner to wallet import list --- .../sparrowwallet/sparrow/control/WalletImportDialog.java | 2 +- src/main/java/com/sparrowwallet/sparrow/io/SeedSigner.java | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/control/WalletImportDialog.java b/src/main/java/com/sparrowwallet/sparrow/control/WalletImportDialog.java index 0a24f392..b28c85c0 100644 --- a/src/main/java/com/sparrowwallet/sparrow/control/WalletImportDialog.java +++ b/src/main/java/com/sparrowwallet/sparrow/control/WalletImportDialog.java @@ -48,7 +48,7 @@ public class WalletImportDialog extends Dialog { AnchorPane.setRightAnchor(scrollPane, 0.0); importAccordion = new Accordion(); - List keystoreImporters = List.of(new ColdcardSinglesig(), new CoboVaultSinglesig(), new KeystoneSinglesig(), new PassportSinglesig(), new GordianSeedTool(), new SpecterDIY()); + List keystoreImporters = List.of(new ColdcardSinglesig(), new CoboVaultSinglesig(), new KeystoneSinglesig(), new PassportSinglesig(), new GordianSeedTool(), new SeedSigner(), new SpecterDIY()); for(KeystoreFileImport importer : keystoreImporters) { FileWalletKeystoreImportPane importPane = new FileWalletKeystoreImportPane(importer); importAccordion.getPanes().add(importPane); diff --git a/src/main/java/com/sparrowwallet/sparrow/io/SeedSigner.java b/src/main/java/com/sparrowwallet/sparrow/io/SeedSigner.java index a0756efa..8c9511dd 100644 --- a/src/main/java/com/sparrowwallet/sparrow/io/SeedSigner.java +++ b/src/main/java/com/sparrowwallet/sparrow/io/SeedSigner.java @@ -17,4 +17,9 @@ public class SeedSigner extends SpecterDIY { public WalletModel getWalletModel() { return WalletModel.SEEDSIGNER; } + + @Override + public boolean isFileFormatAvailable() { + return false; + } }