Merge pull request #4944 from chimp1984/rename-tw-account-currency-selection

Improve TransferWise account
This commit is contained in:
Christoph Atteneder 2020-12-14 11:26:50 +01:00 committed by GitHub
commit b8cec17f8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View File

@ -17,7 +17,6 @@
package bisq.core.payment;
import bisq.core.locale.CurrencyUtil;
import bisq.core.payment.payload.PaymentAccountPayload;
import bisq.core.payment.payload.PaymentMethod;
import bisq.core.payment.payload.TransferwiseAccountPayload;
@ -28,8 +27,6 @@ import lombok.EqualsAndHashCode;
public final class TransferwiseAccount extends PaymentAccount {
public TransferwiseAccount() {
super(PaymentMethod.TRANSFERWISE);
tradeCurrencies.addAll(CurrencyUtil.getAllTransferwiseCurrencies());
}
@Override

View File

@ -3152,6 +3152,7 @@ payment.venmo.venmoUserName=Venmo username
payment.popmoney.accountId=Email or phone no.
payment.promptPay.promptPayId=Citizen ID/Tax ID or phone no.
payment.supportedCurrencies=Supported currencies
payment.supportedCurrenciesForReceiver=Currencies for receiving funds
payment.limitations=Limitations
payment.salt=Salt for account age verification
payment.error.noHexSalt=The salt needs to be in HEX format.\n\

View File

@ -78,7 +78,7 @@ public class TransferwiseForm extends PaymentMethodForm {
private void addCurrenciesGrid(boolean isEditable) {
FlowPane flowPane = FormBuilder.addTopLabelFlowPane(gridPane, ++gridRow,
Res.get("payment.supportedCurrencies"), 20, 20).second;
Res.get("payment.supportedCurrenciesForReceiver"), 20, 20).second;
if (isEditable) {
flowPane.setId("flow-pane-checkboxes-bg");