This commit is contained in:
Benoit Marty 2024-04-15 14:17:42 +02:00
parent 62e25fa996
commit f2e56e7137
2 changed files with 2 additions and 2 deletions

View file

@ -191,4 +191,3 @@ internal fun SuperButtonPreview() {
} }
} }
} }

View file

@ -203,7 +203,8 @@ private fun ButtonInternal(
} }
val textStyle = when (size) { val textStyle = when (size) {
ButtonSize.Small, ButtonSize.Medium -> MaterialTheme.typography.labelLarge ButtonSize.Small,
ButtonSize.Medium -> MaterialTheme.typography.labelLarge
ButtonSize.Large -> ElementTheme.typography.fontBodyLgMedium ButtonSize.Large -> ElementTheme.typography.fontBodyLgMedium
} }