diff --git a/src/main/java/com/sparrowwallet/sparrow/soroban/InitiatorDialog.java b/src/main/java/com/sparrowwallet/sparrow/soroban/InitiatorDialog.java index 75c5e609..986e081d 100644 --- a/src/main/java/com/sparrowwallet/sparrow/soroban/InitiatorDialog.java +++ b/src/main/java/com/sparrowwallet/sparrow/soroban/InitiatorDialog.java @@ -65,7 +65,7 @@ public class InitiatorDialog extends Dialog { broadcastButton.visibleProperty().bind(nextButton.visibleProperty().not()); initiatorController.counterpartyPaymentCodeProperty().addListener((observable, oldValue, paymentCode) -> { - nextButton.setDisable(paymentCode == null); + nextButton.setDisable(paymentCode == null || !AppServices.isConnected()); }); initiatorController.stepProperty().addListener((observable, oldValue, step) -> {