revert: language badge for ALL (#314)

This commit is contained in:
Tran M. Cuong 2024-08-29 00:15:27 +07:00 committed by GitHub
parent 593aac4d0a
commit 19b36d724c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,7 +56,7 @@ internal fun LanguageBadge(
color = MaterialTheme.colorScheme.tertiary,
iconColor = MaterialTheme.colorScheme.onTertiary,
)
} else if (sourceLanguage.isNotEmpty() /* KMK --> */ && sourceLanguage != "all" /* KMK <-- */) {
} else if (sourceLanguage.isNotEmpty()) {
// KMK -->
if (useLangIcon) {
val iconResId = getLanguageIconID(sourceLanguage) ?: R.drawable.globe