Skip to content

Commit

Permalink
set maxLines
Browse files Browse the repository at this point in the history
  • Loading branch information
Metaroll committed Dec 11, 2024
1 parent dfb5fcb commit ca26863
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ private fun SettingText(
.padding(vertical = 16.dp),
verticalAlignment = Alignment.CenterVertically
) {
Text(text = text, modifier = Modifier.weight(1f))
Text(text = text, modifier = Modifier.weight(1f), maxLines = 1)
Spacer(Modifier.width(4.dp))
TextButton(
onClick = { showDialog = true },
Expand Down

0 comments on commit ca26863

Please sign in to comment.