mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 21:36:45 +00:00
dont allow soroban mix to start if initiator is not connected
This commit is contained in:
parent
52aed8a3f5
commit
4819f329ae
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ public class InitiatorDialog extends Dialog<Transaction> {
|
||||||
broadcastButton.visibleProperty().bind(nextButton.visibleProperty().not());
|
broadcastButton.visibleProperty().bind(nextButton.visibleProperty().not());
|
||||||
|
|
||||||
initiatorController.counterpartyPaymentCodeProperty().addListener((observable, oldValue, paymentCode) -> {
|
initiatorController.counterpartyPaymentCodeProperty().addListener((observable, oldValue, paymentCode) -> {
|
||||||
nextButton.setDisable(paymentCode == null);
|
nextButton.setDisable(paymentCode == null || !AppServices.isConnected());
|
||||||
});
|
});
|
||||||
|
|
||||||
initiatorController.stepProperty().addListener((observable, oldValue, step) -> {
|
initiatorController.stepProperty().addListener((observable, oldValue, step) -> {
|
||||||
|
|
Loading…
Reference in a new issue