mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-20 01:59:43 +02:00
@@ -51,12 +51,11 @@ fun Pill(
|
||||
contentColor: Color = MaterialTheme.colorScheme.onSurface,
|
||||
fontSize: TextUnit = LocalTextStyle.current.fontSize,
|
||||
) {
|
||||
val style = LocalTextStyle.current
|
||||
Pill(
|
||||
text = text,
|
||||
modifier = modifier,
|
||||
color = color,
|
||||
contentColor = contentColor,
|
||||
style = MaterialTheme.typography.bodyMedium.copy(fontSize = fontSize),
|
||||
style = LocalTextStyle.current.merge(fontSize = fontSize),
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user