diff --git a/presentation-core/src/main/java/tachiyomi/presentation/core/components/Pill.kt b/presentation-core/src/main/java/tachiyomi/presentation/core/components/Pill.kt index 4824e1030..dfd07b673 100644 --- a/presentation-core/src/main/java/tachiyomi/presentation/core/components/Pill.kt +++ b/presentation-core/src/main/java/tachiyomi/presentation/core/components/Pill.kt @@ -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), ) }