diff --git a/src/main/java/com/sparrowwallet/sparrow/keystoreimport/KeystoreImportController.java b/src/main/java/com/sparrowwallet/sparrow/keystoreimport/KeystoreImportController.java index a8f73079..4d417de6 100644 --- a/src/main/java/com/sparrowwallet/sparrow/keystoreimport/KeystoreImportController.java +++ b/src/main/java/com/sparrowwallet/sparrow/keystoreimport/KeystoreImportController.java @@ -38,18 +38,19 @@ public class KeystoreImportController implements Initializable { this.wallet = wallet; importMenu.selectedToggleProperty().addListener((observable, oldValue, selectedToggle) -> { KeystoreSource importType = (KeystoreSource) selectedToggle.getUserData(); + System.out.println(importType); setImportPane(importType.toString().toLowerCase()); }); } void showUsbDevices(List devices) { - FXMLLoader loader = setImportPane("usb-devices"); + FXMLLoader loader = setImportPane("hw_usb-devices"); UsbDevicesController controller = loader.getController(); controller.initializeView(devices); } void showUsbError(String message) { - FXMLLoader loader = setImportPane("usb-error"); + FXMLLoader loader = setImportPane("hw_usb-error"); UsbScanController controller = loader.getController(); controller.initializeView(message); } diff --git a/src/main/resources/com/sparrowwallet/sparrow/keystoreimport/usb-devices.fxml b/src/main/resources/com/sparrowwallet/sparrow/keystoreimport/hw_usb-devices.fxml similarity index 100% rename from src/main/resources/com/sparrowwallet/sparrow/keystoreimport/usb-devices.fxml rename to src/main/resources/com/sparrowwallet/sparrow/keystoreimport/hw_usb-devices.fxml diff --git a/src/main/resources/com/sparrowwallet/sparrow/keystoreimport/usb-error.fxml b/src/main/resources/com/sparrowwallet/sparrow/keystoreimport/hw_usb-error.fxml similarity index 100% rename from src/main/resources/com/sparrowwallet/sparrow/keystoreimport/usb-error.fxml rename to src/main/resources/com/sparrowwallet/sparrow/keystoreimport/hw_usb-error.fxml diff --git a/src/main/resources/com/sparrowwallet/sparrow/keystoreimport/usb.fxml b/src/main/resources/com/sparrowwallet/sparrow/keystoreimport/hw_usb.fxml similarity index 100% rename from src/main/resources/com/sparrowwallet/sparrow/keystoreimport/usb.fxml rename to src/main/resources/com/sparrowwallet/sparrow/keystoreimport/hw_usb.fxml