diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/utils/managers/BuildManager.kt b/app/src/main/java/pl/szczodrzynski/edziennik/utils/managers/BuildManager.kt index 3deaabfd..8d50a948 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/utils/managers/BuildManager.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/utils/managers/BuildManager.kt @@ -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 {