mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-01 01:32:17 +01:00
SbpForm: Remove redundant cast to SbpAccountPayload
This commit is contained in:
parent
9f3e216fe1
commit
0890f0eac0
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public class SbpForm extends PaymentMethodForm {
|
||||||
|
|
||||||
public static int addFormForBuyer(GridPane gridPane, int gridRow, PaymentAccountPayload paymentAccountPayload) {
|
public static int addFormForBuyer(GridPane gridPane, int gridRow, PaymentAccountPayload paymentAccountPayload) {
|
||||||
addCompactTopLabelTextFieldWithCopyIcon(gridPane, ++gridRow, Res.get("payment.account.owner.sbp"),
|
addCompactTopLabelTextFieldWithCopyIcon(gridPane, ++gridRow, Res.get("payment.account.owner.sbp"),
|
||||||
((SbpAccountPayload) paymentAccountPayload).getHolderName());
|
paymentAccountPayload.getHolderName());
|
||||||
addCompactTopLabelTextFieldWithCopyIcon(gridPane, gridRow, 1, Res.get("payment.mobile"),
|
addCompactTopLabelTextFieldWithCopyIcon(gridPane, gridRow, 1, Res.get("payment.mobile"),
|
||||||
((SbpAccountPayload) paymentAccountPayload).getMobileNumber());
|
((SbpAccountPayload) paymentAccountPayload).getMobileNumber());
|
||||||
addCompactTopLabelTextFieldWithCopyIcon(gridPane, ++gridRow, Res.get("payment.bank.name"),
|
addCompactTopLabelTextFieldWithCopyIcon(gridPane, ++gridRow, Res.get("payment.bank.name"),
|
||||||
|
|
Loading…
Add table
Reference in a new issue