Skip to content

Commit

Permalink
fix bankid leak
Browse files Browse the repository at this point in the history
  • Loading branch information
BtcContributor committed Feb 24, 2021
1 parent 314e6ce commit e494de1
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,21 +253,20 @@ private void addContent() {
addConfirmationLabelLabel(gridPane, ++rowIndex, Res.get("offerDetailsWindow.myTradingAccount"), myPaymentAccount.getAccountName());
} else {
final String method = Res.get(paymentMethod.getId());
String methodWithBankId = method + bankId;
String paymentMethodLabel = Res.get("shared.paymentMethod");
if (countryCode != null && (isNationalBanks || isSpecificBanks || isSepa)) {
if (BankUtil.isBankIdRequired(countryCode))
addConfirmationLabelLabel(gridPane, ++rowIndex,
paymentMethodLabel + " " + Res.get("offerDetailsWindow.offererBankId"),
methodWithBankId);
paymentMethodLabel,
method);
else if (BankUtil.isBankNameRequired(countryCode))
addConfirmationLabelLabel(gridPane, ++rowIndex,
paymentMethodLabel + " " + Res.get("offerDetailsWindow.offerersBankName"),
methodWithBankId);
paymentMethodLabel,
method);
} else if (paymentMethod.equals(PaymentMethod.CASH_DEPOSIT)) {
addConfirmationLabelLabel(gridPane, ++rowIndex,
paymentMethodLabel + " " + Res.get("offerDetailsWindow.offererBankId"),
methodWithBankId);
paymentMethodLabel,
method);
} else {
addConfirmationLabelLabel(gridPane, ++rowIndex, Res.get("shared.paymentMethod"), method);
}
Expand Down

0 comments on commit e494de1

Please sign in to comment.