Increase instructions and ingredients font size (#195)
This commit is contained in:
@@ -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,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user