From 4c6e4807372d43e3095a3655230c737e29761be0 Mon Sep 17 00:00:00 2001 From: Kirill Kamakin Date: Sat, 13 Jan 2024 11:46:49 +0100 Subject: [PATCH] Increase instructions and ingredients font size (#195) --- .../kirmanak/mealient/ui/recipes/info/IngredientsSection.kt | 4 ++-- .../mealient/ui/recipes/info/InstructionsSection.kt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/gq/kirmanak/mealient/ui/recipes/info/IngredientsSection.kt b/app/src/main/java/gq/kirmanak/mealient/ui/recipes/info/IngredientsSection.kt index c347fd8..b9cb593 100644 --- a/app/src/main/java/gq/kirmanak/mealient/ui/recipes/info/IngredientsSection.kt +++ b/app/src/main/java/gq/kirmanak/mealient/ui/recipes/info/IngredientsSection.kt @@ -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, ) } } diff --git a/app/src/main/java/gq/kirmanak/mealient/ui/recipes/info/InstructionsSection.kt b/app/src/main/java/gq/kirmanak/mealient/ui/recipes/info/InstructionsSection.kt index 6e644bb..1fe146d 100644 --- a/app/src/main/java/gq/kirmanak/mealient/ui/recipes/info/InstructionsSection.kt +++ b/app/src/main/java/gq/kirmanak/mealient/ui/recipes/info/InstructionsSection.kt @@ -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, ) } }