[bisq-network/bisq] Validate phone numbers (#3149)
Christoph Atteneder
notifications at github.com
Fri Aug 30 18:10:01 UTC 2019
ripcurlx commented on this pull request.
> private final SwishAccount swishAccount;
private final SwishValidator swishValidator;
private InputTextField mobileNrInputTextField;
+ public SwishForm(PaymentAccount paymentAccount,
+ AccountAgeWitnessService accountAgeWitnessService,
+ SwishValidator swishValidator,
+ InputValidator inputValidator,
+ GridPane gridPane,
+ int gridRow,
+ BSFormatter formatter) {
+ super(paymentAccount, accountAgeWitnessService, inputValidator, gridPane, gridRow, formatter);
+ this.swishAccount = (SwishAccount) paymentAccount;
+ this.swishValidator = swishValidator;
+ this.swishValidator.setIsoCountryCode("SE");
Maybe that could be done directly in the SwishValidator and not in the Form. What do you think?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/3149#pullrequestreview-282177773
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190830/00a838b9/attachment.html>
More information about the bisq-github
mailing list