This commit is contained in:
Benoit Marty
2024-04-15 14:17:42 +02:00
parent 933263ee96
commit 88b3c33eaf
2 changed files with 2 additions and 2 deletions
@@ -191,4 +191,3 @@ internal fun SuperButtonPreview() {
} }
} }
} }
@@ -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
} }