Increase instructions and ingredients font size (#195)

This commit is contained in:
Kirill Kamakin
2024-01-13 11:46:49 +01:00
committed by GitHub
parent de4df95a0e
commit 4c6e480737
2 changed files with 5 additions and 5 deletions

View File

@@ -89,13 +89,13 @@ private fun IngredientListItem(
Column { Column {
Text( Text(
text = item.display, text = item.display,
style = MaterialTheme.typography.bodyMedium, style = MaterialTheme.typography.bodyLarge,
) )
if (item.note.isNotBlank()) { if (item.note.isNotBlank()) {
Text( Text(
text = item.note, text = item.note,
style = MaterialTheme.typography.bodySmall, style = MaterialTheme.typography.bodyMedium,
) )
} }
} }

View File

@@ -77,12 +77,12 @@ private fun InstructionListItem(
R.string.view_holder_recipe_instructions_step, R.string.view_holder_recipe_instructions_step,
index + 1 index + 1
), ),
style = MaterialTheme.typography.titleSmall, style = MaterialTheme.typography.titleMedium,
) )
Text( Text(
text = item.text.trim(), text = item.text.trim(),
style = MaterialTheme.typography.bodyMedium, style = MaterialTheme.typography.bodyLarge,
) )
if (ingredients.isNotEmpty()) { if (ingredients.isNotEmpty()) {
@@ -90,7 +90,7 @@ private fun InstructionListItem(
ingredients.forEach { ingredient -> ingredients.forEach { ingredient ->
Text( Text(
text = ingredient.display, text = ingredient.display,
style = MaterialTheme.typography.bodySmall, style = MaterialTheme.typography.bodyMedium,
) )
} }
} }