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

Stan notifications at github.com
Fri Aug 30 18:11:39 UTC 2019


ghubstan 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");

Oops.  Of course it should be down in the validator.

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


More information about the bisq-github mailing list