mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-23 08:14:45 +00:00
Refactoring
This commit is contained in:
parent
4aae31cc9e
commit
8b1e036945
2 changed files with 5 additions and 5 deletions
|
@ -161,7 +161,7 @@ android {
|
|||
buildConfigField "String", "LIBRAVATAR_DNS", "\"_avatars-sec._tcp,_avatars._tcp\""
|
||||
buildConfigField "String", "LIBRAVATAR_URI", "\"https://seccdn.libravatar.org/avatar/\""
|
||||
buildConfigField "String", "LIBRAVATAR_INFO", "\"https://libravatar.org/\""
|
||||
buildConfigField "String", "PAYPAL_URI", localProperties.getProperty("paypal.uri", "\"\"")
|
||||
buildConfigField "String", "TX_URI", localProperties.getProperty("paypal.uri", "\"\"")
|
||||
buildConfigField "String", "GPA_URI", localProperties.getProperty("gpa.uri", "\"\"")
|
||||
buildConfigField "String", "INFO_URI", localProperties.getProperty("info.uri", "\"\"")
|
||||
buildConfigField "String", "DEV_DOMAIN", localProperties.getProperty("dev.domain", "\"\"")
|
||||
|
@ -180,7 +180,7 @@ android {
|
|||
buildConfigField "String", "LIBRAVATAR_DNS", "\"_avatars-sec._tcp,_avatars._tcp\""
|
||||
buildConfigField "String", "LIBRAVATAR_URI", "\"https://seccdn.libravatar.org/avatar/\""
|
||||
buildConfigField "String", "LIBRAVATAR_INFO", "\"https://libravatar.org/\""
|
||||
buildConfigField "String", "PAYPAL_URI", "\"\""
|
||||
buildConfigField "String", "TX_URI", "\"\""
|
||||
buildConfigField "String", "GPA_URI", "\"\""
|
||||
buildConfigField "String", "INFO_URI", "\"\""
|
||||
buildConfigField "String", "DEV_DOMAIN", "\"\""
|
||||
|
@ -200,7 +200,7 @@ android {
|
|||
buildConfigField "String", "LIBRAVATAR_DNS", "\"\""
|
||||
buildConfigField "String", "LIBRAVATAR_URI", "\"\""
|
||||
buildConfigField "String", "LIBRAVATAR_INFO", "\"\""
|
||||
buildConfigField "String", "PAYPAL_URI", "\"\""
|
||||
buildConfigField "String", "TX_URI", "\"\""
|
||||
buildConfigField "String", "GPA_URI", "\"\""
|
||||
buildConfigField "String", "INFO_URI", "\"\""
|
||||
buildConfigField "String", "DEV_DOMAIN", "\"\""
|
||||
|
@ -220,7 +220,7 @@ android {
|
|||
buildConfigField "String", "LIBRAVATAR_DNS", "\"\""
|
||||
buildConfigField "String", "LIBRAVATAR_URI", "\"\""
|
||||
buildConfigField "String", "LIBRAVATAR_INFO", "\"\""
|
||||
buildConfigField "String", "PAYPAL_URI", "\"\""
|
||||
buildConfigField "String", "TX_URI", "\"\""
|
||||
buildConfigField "String", "GPA_URI", "\"\""
|
||||
buildConfigField "String", "INFO_URI", "\"\""
|
||||
buildConfigField "String", "DEV_DOMAIN", "\"\""
|
||||
|
|
|
@ -1450,7 +1450,7 @@ public class HtmlHelper {
|
|||
Element parent = (Element) node.parentNode();
|
||||
if ("faircode_txn_id".equals(parent.className())) {
|
||||
Element a = document.createElement("a");
|
||||
a.attr("href", BuildConfig.PAYPAL_URI + text.trim());
|
||||
a.attr("href", BuildConfig.TX_URI + text.trim());
|
||||
a.text(text);
|
||||
tnode.before(a);
|
||||
tnode.text("");
|
||||
|
|
Loading…
Reference in a new issue