[App] Improve unofficial build type info on debug.

This commit is contained in:
Kuba Szczodrzyński 2021-04-05 19:46:22 +02:00
parent b8ff649c96
commit ea2974bfae
No known key found for this signature in database
GPG Key ID: 70CB8A85BA1633CB

View File

@ -88,9 +88,10 @@ class BuildManager(val app: App) : CoroutineScope {
else -> no.asColoredSpannable(mtrlYellow)
}
)
isDebug -> no
else -> TextUtils.concat(
no.asColoredSpannable(mtrlRed),
if (gitAuthor != null) " ($gitAuthor)" else ""
if (gitAuthor.isNotNullNorBlank()) " ($gitAuthor)" else ""
)
},
R.string.build_platform to when {