CW-924-Don't-prompt-to-save-to-address-book-on-standard-Bitcoin-Litecoin-Bitcoin-Cash-addresses (#2043)

* don't prompt regular btc ltc bch address

* minor fix
This commit is contained in:
Serhii 2025-03-04 03:58:56 +02:00 committed by GitHub
parent 074a38704e
commit dcd978eb38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 39 additions and 0 deletions

View file

@ -281,6 +281,9 @@ class AddressValidator extends TextValidator {
}
}
static String get silentPaymentAddressPattern => SilentPaymentAddress.regex.pattern;
static String get mWebAddressPattern => MwebAddress.regex.pattern;
static String? getAddressFromStringPattern(CryptoCurrency type) {
String? pattern = null;