mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Merge pull request #5234 from BtcContributor/hidebankid
Fix BankId leak
This commit is contained in:
commit
c951dc2288
@ -2655,8 +2655,6 @@ offerDetailsWindow.minBtcAmount=Min. BTC amount
|
||||
offerDetailsWindow.min=(min. {0})
|
||||
offerDetailsWindow.distance=(distance from market price: {0})
|
||||
offerDetailsWindow.myTradingAccount=My trading account
|
||||
offerDetailsWindow.offererBankId=(maker's bank ID/BIC/SWIFT)
|
||||
offerDetailsWindow.offerersBankName=(maker's bank name)
|
||||
offerDetailsWindow.bankId=Bank ID (e.g. BIC or SWIFT)
|
||||
offerDetailsWindow.countryBank=Maker's country of bank
|
||||
offerDetailsWindow.commitment=Commitment
|
||||
|
@ -253,24 +253,7 @@ public class OfferDetailsWindow extends Overlay<OfferDetailsWindow> {
|
||||
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);
|
||||
else if (BankUtil.isBankNameRequired(countryCode))
|
||||
addConfirmationLabelLabel(gridPane, ++rowIndex,
|
||||
paymentMethodLabel + " " + Res.get("offerDetailsWindow.offerersBankName"),
|
||||
methodWithBankId);
|
||||
} else if (paymentMethod.equals(PaymentMethod.CASH_DEPOSIT)) {
|
||||
addConfirmationLabelLabel(gridPane, ++rowIndex,
|
||||
paymentMethodLabel + " " + Res.get("offerDetailsWindow.offererBankId"),
|
||||
methodWithBankId);
|
||||
} else {
|
||||
addConfirmationLabelLabel(gridPane, ++rowIndex, Res.get("shared.paymentMethod"), method);
|
||||
}
|
||||
addConfirmationLabelLabel(gridPane, ++rowIndex, Res.get("shared.paymentMethod"), method);
|
||||
}
|
||||
|
||||
if (showXmrAutoConf) {
|
||||
|
Loading…
Reference in New Issue
Block a user