Clean up litany text label
This commit is contained in:
parent
1b6b97243b
commit
b5fe1cc7ae
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue