Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Increase instructions and ingredients font size #195

Merged
merged 1 commit into from
Jan 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,20 @@ 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()) {
Divider()
ingredients.forEach { ingredient ->
Text(
text = ingredient.display,
style = MaterialTheme.typography.bodySmall,
style = MaterialTheme.typography.bodyMedium,
)
}
}
Expand Down