fix: resolve hyphen-based text clipping in subtitle dialog tabs + add the forget string

This commit is contained in:
saimuelbr 2026-03-04 18:33:16 -03:00
parent 7164ec6d25
commit f2fee2cb86
2 changed files with 5 additions and 3 deletions

View file

@ -238,7 +238,7 @@ private fun SubtitleTab(
Row(
modifier = Modifier
.padding(horizontal = 12.dp, vertical = 10.dp)
.width(IntrinsicSize.Min),
.width(IntrinsicSize.Max),
verticalAlignment = Alignment.CenterVertically,
horizontalArrangement = Arrangement.Start
) {
@ -247,7 +247,9 @@ private fun SubtitleTab(
style = MaterialTheme.typography.bodyMedium,
color = if (isSelected) Color.White else Color.White.copy(alpha = 0.7f),
maxLines = 1,
overflow = TextOverflow.Ellipsis
softWrap = false,
overflow = TextOverflow.Visible,
modifier = Modifier.wrapContentWidth(unbounded = true)
)
if (badgeCount != null && badgeCount > 0) {

View file

@ -645,7 +645,7 @@
<string name="subtitle_tab_addons">Addons</string>
<string name="subtitle_tab_languages">Idiomas</string>
<string name="subtitle_tab_style">Estilo</string>
<string name="subtitle_tab_delay">Atraso</string>
<string name="subtitle_tab_delay">Sincronização</string>
<string name="subtitle_none">Nenhuma</string>
<string name="subtitle_all">Todas</string>
<string name="subtitle_section_core">Principal</string>