mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
strip mailto: prefix
This commit is contained in:
parent
e98ad2971a
commit
e4a9895120
2 changed files with 8 additions and 0 deletions
|
@ -1785,5 +1785,9 @@ String formatAddress(String epicAddress) {
|
|||
epicAddress = epicAddress.replaceAll("http://", "");
|
||||
epicAddress = epicAddress.replaceAll("https://", "");
|
||||
}
|
||||
// strip mailto: prefix
|
||||
if (epicAddress.startsWith("mailto:")) {
|
||||
epicAddress = epicAddress.replaceAll("mailto:", "");
|
||||
}
|
||||
return epicAddress;
|
||||
}
|
||||
|
|
|
@ -1353,5 +1353,9 @@ String formatAddress(String epicAddress) {
|
|||
epicAddress = epicAddress.replaceAll("http://", "");
|
||||
epicAddress = epicAddress.replaceAll("https://", "");
|
||||
}
|
||||
// strip mailto: prefix
|
||||
if (epicAddress.startsWith("mailto:")) {
|
||||
epicAddress = epicAddress.replaceAll("mailto:", "");
|
||||
}
|
||||
return epicAddress;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue