Browse Source

dont allow soroban mix to start if initiator is not connected

terminal
Craig Raw 3 years ago
parent
commit
4819f329ae
  1. 2
      src/main/java/com/sparrowwallet/sparrow/soroban/InitiatorDialog.java

2
src/main/java/com/sparrowwallet/sparrow/soroban/InitiatorDialog.java

@ -65,7 +65,7 @@ public class InitiatorDialog extends Dialog<Transaction> {
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) -> {

Loading…
Cancel
Save