[bisq-network/bisq] Validate phone numbers (#3149)

Christoph Atteneder notifications at github.com
Fri Aug 30 18:19:19 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");

As sb just mentioned in Slack #dev channel, probably better this.setIsoCountryCode("SE")

-- 
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#discussion_r319626059
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190830/017314cf/attachment.html>


More information about the bisq-github mailing list