mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Merge pull request #3260 from wiz/fix-japan-bank-account-gui-further
Remove extra field from JapanBankTransferForm::addFormForBuyer()
This commit is contained in:
commit
b1e2483b67
@ -77,25 +77,17 @@ public class JapanBankTransferForm extends PaymentMethodForm
|
||||
{
|
||||
JapanBankAccountPayload japanBankAccount = ((JapanBankAccountPayload) paymentAccountPayload);
|
||||
|
||||
addCompactTopLabelTextFieldWithCopyIcon(gridPane, ++gridRow,
|
||||
Res.get("payment.account.owner"),
|
||||
((JapanBankAccountPayload) paymentAccountPayload).getBankName());
|
||||
|
||||
String bankText = japanBankAccount.getBankCode() + " " + japanBankAccount.getBankName();
|
||||
TextField bankTextField = addCompactTopLabelTextField(gridPane, ++gridRow, Res.get("payment.japan.bank"), bankText).second;
|
||||
bankTextField.setEditable(false);
|
||||
addCompactTopLabelTextFieldWithCopyIcon(gridPane, ++gridRow, Res.get("payment.japan.bank"), bankText);
|
||||
|
||||
String branchText = japanBankAccount.getBankBranchCode() + " " + japanBankAccount.getBankBranchName();
|
||||
TextField branchTextField = addCompactTopLabelTextField(gridPane, gridRow, 1, Res.get("payment.japan.branch"), branchText).second;
|
||||
branchTextField.setEditable(false);
|
||||
addCompactTopLabelTextFieldWithCopyIcon(gridPane, gridRow, 1, Res.get("payment.japan.branch"), branchText);
|
||||
|
||||
String accountText = japanBankAccount.getBankAccountType() + " " + japanBankAccount.getBankAccountNumber();
|
||||
TextField accountTextField = addCompactTopLabelTextField(gridPane, ++gridRow, Res.get("payment.japan.account"), accountText).second;
|
||||
accountTextField.setEditable(false);
|
||||
addCompactTopLabelTextFieldWithCopyIcon(gridPane, ++gridRow, Res.get("payment.japan.account"), accountText);
|
||||
|
||||
String accountNameText = japanBankAccount.getBankAccountName();
|
||||
TextField accountNameTextField = addCompactTopLabelTextField(gridPane, gridRow, 1, Res.get("payment.japan.recipient"), accountNameText).second;
|
||||
accountNameTextField.setEditable(false);
|
||||
addCompactTopLabelTextFieldWithCopyIcon(gridPane, gridRow, 1, Res.get("payment.japan.recipient"), accountNameText);
|
||||
|
||||
return gridRow;
|
||||
} // }}}
|
||||
|
Loading…
Reference in New Issue
Block a user