diff --git a/desktop/src/main/java/bisq/desktop/components/paymentmethods/MoneyBeamForm.java b/desktop/src/main/java/bisq/desktop/components/paymentmethods/MoneyBeamForm.java index 84a7da2df2..c34786b8f2 100644 --- a/desktop/src/main/java/bisq/desktop/components/paymentmethods/MoneyBeamForm.java +++ b/desktop/src/main/java/bisq/desktop/components/paymentmethods/MoneyBeamForm.java @@ -32,8 +32,6 @@ import bisq.core.payment.payload.PaymentAccountPayload; import bisq.core.util.BSFormatter; import bisq.core.util.validation.InputValidator; -import org.apache.commons.lang3.StringUtils; - import javafx.scene.control.TextField; import javafx.scene.layout.GridPane; @@ -76,12 +74,7 @@ public class MoneyBeamForm extends PaymentMethodForm { @Override protected void autoFillNameTextField() { - if (useCustomAccountNameToggleButton != null && !useCustomAccountNameToggleButton.isSelected()) { - String accountNr = accountIdInputTextField.getText(); - accountNr = StringUtils.abbreviate(accountNr, 9); - String method = Res.get(paymentAccount.getPaymentMethod().getId()); - accountNameTextField.setText(method.concat(": ").concat(accountNr)); - } + setAccountNameWithString(accountIdInputTextField.getText()); } @Override