mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 13:26:44 +00:00
fix ui button update when stopping mixing on terminal
This commit is contained in:
parent
2deab05c45
commit
bcbb531414
1 changed files with 6 additions and 1 deletions
|
@ -81,7 +81,12 @@ public class UtxosDialog extends WalletDialog {
|
|||
}
|
||||
}
|
||||
|
||||
startMix.setLabel(newValue ? "Stop Mixing" : "Start Mixing");
|
||||
Whirlpool whirlpool = AppServices.getWhirlpoolServices().getWhirlpool(getWalletForm().getWallet());
|
||||
if(newValue) {
|
||||
startMix.setLabel("Stop Mixing");
|
||||
} else if(whirlpool == null || !whirlpool.stoppingProperty().get()) {
|
||||
startMix.setLabel("Start Mixing");
|
||||
}
|
||||
};
|
||||
|
||||
public UtxosDialog(WalletForm walletForm) {
|
||||
|
|
Loading…
Reference in a new issue