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 {
Text(
text = item.display,
style = MaterialTheme.typography.bodyMedium,
style = MaterialTheme.typography.bodyLarge,
)
if (item.note.isNotBlank()) {
Text(
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,
index + 1
),
style = MaterialTheme.typography.titleSmall,
style = MaterialTheme.typography.titleMedium,
)
Text(
text = item.text.trim(),
style = MaterialTheme.typography.bodyMedium,
style = MaterialTheme.typography.bodyLarge,
)
if (ingredients.isNotEmpty()) {
@@ -90,7 +90,7 @@ private fun InstructionListItem(
ingredients.forEach { ingredient ->
Text(
text = ingredient.display,
style = MaterialTheme.typography.bodySmall,
style = MaterialTheme.typography.bodyMedium,
)
}
}