mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix: unintended line break in node chip (#2199)
This commit is contained in:
parent
bcc3a0f107
commit
d24a501f06
1 changed files with 2 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ fun NodeChip(
|
|||
AssistChip(
|
||||
modifier = modifier
|
||||
.width(IntrinsicSize.Min)
|
||||
.defaultMinSize(minHeight = 24.dp, minWidth = 48.dp),
|
||||
.defaultMinSize(minHeight = 24.dp, minWidth = 72.dp),
|
||||
colors = AssistChipDefaults.assistChipColors(
|
||||
containerColor = Color(nodeColor),
|
||||
labelColor = Color(textColor),
|
||||
|
|
@ -69,6 +69,7 @@ fun NodeChip(
|
|||
fontSize = MaterialTheme.typography.labelLarge.fontSize,
|
||||
textDecoration = TextDecoration.LineThrough.takeIf { isIgnored },
|
||||
textAlign = TextAlign.Center,
|
||||
maxLines = 1,
|
||||
)
|
||||
},
|
||||
onClick = {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue