Updated on 2026-08-14

This commit is contained in:
Tangem 2021-12-17 17:08:47 +00:00
commit 351ccc849f
2 changed files with 19 additions and 2 deletions

View file

@ -778,5 +778,16 @@
"curve" : "secp256k1",
"testnet" : false
}
},
{
"decimalCount" : 18,
"symbol" : "VOYRME",
"name" : "VOYR",
"contractAddress" : "0x33a887Cf76383be39DC51786e8f641c9D6665D84",
"blockchain" : {
"key" : "bsc",
"curve" : "secp256k1",
"testnet" : false
}
}
]

View file

@ -40,7 +40,7 @@ class FeedbackManager(
val fileLog = if (emailData is ScanFailsEmail) createLogFile() else null
activity.sendEmail(
email = getSupportEmail(),
subject = emailData.subject, message = emailData.joinTogether(infoHolder),
subject = emailData.subject, message = emailData.joinTogether(infoHolder, emailData !is ScanFailsEmail),
file = fileLog,
onFail = onFail
)
@ -216,8 +216,14 @@ interface EmailData {
fun createOptionalMessage(infoHolder: AdditionalEmailInfo): String
fun joinTogether(infoHolder: AdditionalEmailInfo): String {
fun joinTogether(infoHolder: AdditionalEmailInfo, allowToErasePhoneInfo: Boolean): String {
val allowToErasePhoneInfoDisclaimer = if (allowToErasePhoneInfo) {
"Following information is optional. You can erase it if you dont want to share it.\n\n"
} else {
""
}
return "$mainMessage\n\n\n\n" +
allowToErasePhoneInfoDisclaimer +
createOptionalMessage(infoHolder)
}
}