Merge pull request #5945 from element-hq/feature/bma/listItemFont

Use only font from compound
This commit is contained in:
Benoit Marty 2025-12-29 09:24:01 +01:00 committed by GitHub
commit fe31d5972c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 42 additions and 58 deletions

View file

@ -231,7 +231,7 @@ private fun ImageOptimizationSelector(state: MediaOptimizationSelectorState) {
Text(
modifier = Modifier.weight(1f).align(Alignment.CenterVertically),
text = stringResource(R.string.screen_media_upload_preview_optimize_image_quality_title),
style = ElementTheme.materialTypography.bodyLarge,
style = ElementTheme.typography.fontBodyLgRegular,
)
Switch(
modifier = Modifier.height(32.dp),
@ -337,7 +337,7 @@ private fun VideoQualitySelectorDialog(
supportingContent = {
Text(
text = preset.subtitle(),
style = ElementTheme.materialTypography.bodyMedium,
style = ElementTheme.typography.fontBodyMdRegular,
color = ElementTheme.colors.textSecondary,
)
},