revert back to the old way of adding newlines at the email template
This commit is contained in:
parent
5a4e91e518
commit
dcf00fdde6
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ buildscript {
|
|||
propMinSdkVersion = 21
|
||||
propTargetSdkVersion = propCompileSdkVersion
|
||||
propVersionCode = 1
|
||||
propVersionName = '5.30.24'
|
||||
propVersionName = '5.30.25'
|
||||
kotlin_version = '1.4.10'
|
||||
}
|
||||
|
||||
|
|
|
@ -64,9 +64,9 @@ class AboutActivity : BaseSimpleActivity() {
|
|||
|
||||
val appVersion = String.format(getString(R.string.app_version, intent.getStringExtra(APP_VERSION_NAME)))
|
||||
val deviceOS = String.format(getString(R.string.device_os), Build.VERSION.RELEASE)
|
||||
val newline = "<br>"
|
||||
val newline = "%0D%0A"
|
||||
val separator = "------------------------------"
|
||||
val body = "$appVersion$newline$deviceOS$newline$separator$newline"
|
||||
val body = "$appVersion$newline$deviceOS$newline$separator$newline$newline"
|
||||
val href = "$label<br><a href=\"mailto:$email?subject=$appName&body=$body\">$email</a>"
|
||||
about_email.text = Html.fromHtml(href)
|
||||
|
||||
|
|
Loading…
Reference in a new issue