mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 13:26:44 +00:00
make mix config button naming clearer
This commit is contained in:
parent
41d1a1806d
commit
306f241a4a
1 changed files with 2 additions and 2 deletions
|
@ -223,11 +223,11 @@ public class UtxosController extends WalletFormController implements Initializab
|
|||
private void updateMixToButton() {
|
||||
MixConfig mixConfig = getWalletForm().getWallet().getMasterMixConfig();
|
||||
if(mixConfig != null && mixConfig.getMixToWalletName() != null) {
|
||||
mixTo.setText("Mix to " + mixConfig.getMixToWalletName());
|
||||
mixTo.setText("Mixing to " + mixConfig.getMixToWalletName());
|
||||
try {
|
||||
String mixToWalletId = AppServices.getWhirlpoolServices().getWhirlpoolMixToWalletId(mixConfig);
|
||||
String mixToName = AppServices.get().getWallet(mixToWalletId).getFullDisplayName();
|
||||
mixTo.setText("Mix to " + mixToName);
|
||||
mixTo.setText("Mixing to " + mixToName);
|
||||
mixTo.setGraphic(getExternalGlyph());
|
||||
mixTo.setTooltip(new Tooltip("Mixing to " + mixToName + " after at least " + (mixConfig.getMinMixes() == null ? Whirlpool.DEFAULT_MIXTO_MIN_MIXES : mixConfig.getMinMixes()) + " mixes"));
|
||||
} catch(NoSuchElementException e) {
|
||||
|
|
Loading…
Reference in a new issue