mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-09 16:24:53 +00:00
fix ui button update when stopping mixing on terminal
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user