Clean up litany text label

This commit is contained in:
Hasinjato 2026-12-01 16:51:07 +03:00
parent 1b6b97243b
commit b5fe1cc7ae

View file

@ -1355,8 +1355,9 @@ fun LazyVerticalGridTUO(
.padding(start = 8.dp, end = 8.dp, top = 12.dp, bottom = 8.dp) .padding(start = 8.dp, end = 8.dp, top = 12.dp, bottom = 8.dp)
) { ) {
litanyLabels.values.forEach { (stars, fullText) -> litanyLabels.values.forEach { (stars, fullText) ->
val cleanedFullText = fullText.replace(Regex("[_/]"), "")
Text( Text(
text = "$stars$fullText", text = "$stars$cleanedFullText",
style = MaterialTheme.typography.titleMedium, style = MaterialTheme.typography.titleMedium,
color = MaterialTheme.colorScheme.onBackground.copy(0.7f) color = MaterialTheme.colorScheme.onBackground.copy(0.7f)
) )