PaymentAccount.java uses Res.get() instead of hardcoded labels

This commit is contained in:
woodser 2023-10-04 08:23:39 -04:00
parent 73f688e157
commit 9aea5e0c58
3 changed files with 36 additions and 35 deletions

View file

@ -37,7 +37,7 @@ import static haveno.desktop.util.FormBuilder.addCompactTopLabelTextField;
import static haveno.desktop.util.FormBuilder.addTopLabelTextField;
public class FasterPaymentsForm extends PaymentMethodForm {
private static final String UK_SORT_CODE = "UK sort code";
private static final String UK_SORT_CODE = Res.get("payment.fasterPayments.ukSortCode");
public static int addFormForBuyer(GridPane gridPane, int gridRow,
PaymentAccountPayload paymentAccountPayload) {