mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +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("http://", "");
|
||||||
epicAddress = epicAddress.replaceAll("https://", "");
|
epicAddress = epicAddress.replaceAll("https://", "");
|
||||||
}
|
}
|
||||||
|
// strip mailto: prefix
|
||||||
|
if (epicAddress.startsWith("mailto:")) {
|
||||||
|
epicAddress = epicAddress.replaceAll("mailto:", "");
|
||||||
|
}
|
||||||
return epicAddress;
|
return epicAddress;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1353,5 +1353,9 @@ String formatAddress(String epicAddress) {
|
||||||
epicAddress = epicAddress.replaceAll("http://", "");
|
epicAddress = epicAddress.replaceAll("http://", "");
|
||||||
epicAddress = epicAddress.replaceAll("https://", "");
|
epicAddress = epicAddress.replaceAll("https://", "");
|
||||||
}
|
}
|
||||||
|
// strip mailto: prefix
|
||||||
|
if (epicAddress.startsWith("mailto:")) {
|
||||||
|
epicAddress = epicAddress.replaceAll("mailto:", "");
|
||||||
|
}
|
||||||
return epicAddress;
|
return epicAddress;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue