mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-01-18 12:56:45 -06:00
[App] Improve unofficial build type info on debug.
This commit is contained in:
parent
b8ff649c96
commit
ea2974bfae
@ -88,9 +88,10 @@ class BuildManager(val app: App) : CoroutineScope {
|
|||||||
else -> no.asColoredSpannable(mtrlYellow)
|
else -> no.asColoredSpannable(mtrlYellow)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
isDebug -> no
|
||||||
else -> TextUtils.concat(
|
else -> TextUtils.concat(
|
||||||
no.asColoredSpannable(mtrlRed),
|
no.asColoredSpannable(mtrlRed),
|
||||||
if (gitAuthor != null) " ($gitAuthor)" else ""
|
if (gitAuthor.isNotNullNorBlank()) " ($gitAuthor)" else ""
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
R.string.build_platform to when {
|
R.string.build_platform to when {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user