From 6b8ac9270fbc4faeff878367bdb664c25b182484 Mon Sep 17 00:00:00 2001 From: Wynd Date: Sun, 21 Dec 2025 21:10:29 +0200 Subject: [PATCH] Fixed an composing order issue --- .../recipe/ui/components/RecipePreview.kt | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/app/src/main/java/xyz/pixelatedw/recipe/ui/components/RecipePreview.kt b/app/src/main/java/xyz/pixelatedw/recipe/ui/components/RecipePreview.kt index e66741c..0e09e9f 100644 --- a/app/src/main/java/xyz/pixelatedw/recipe/ui/components/RecipePreview.kt +++ b/app/src/main/java/xyz/pixelatedw/recipe/ui/components/RecipePreview.kt @@ -100,30 +100,30 @@ fun RecipePreview( } } } - } - Row( - horizontalArrangement = Arrangement.Center, - modifier = Modifier - .fillMaxWidth() - .padding(bottom = 8.dp) - ) { - Text( - text = entry.recipe.title, - modifier = Modifier.fillMaxWidth(), - style = TextStyle( - textAlign = TextAlign.Center, - fontSize = 7.em, + Row( + horizontalArrangement = Arrangement.Center, + modifier = Modifier + .fillMaxWidth() + .padding(bottom = 8.dp) + ) { + Text( + text = entry.recipe.title, + modifier = Modifier.fillMaxWidth(), + style = TextStyle( + textAlign = TextAlign.Center, + fontSize = 7.em, + ) ) - ) - } - Row( - horizontalArrangement = Arrangement.End, - modifier = Modifier - .fillMaxWidth() - .padding(bottom = 16.dp) - ) { - for (tag in entry.tags) { - Tag(tag) + } + Row( + horizontalArrangement = Arrangement.End, + modifier = Modifier + .fillMaxWidth() + .padding(bottom = 16.dp) + ) { + for (tag in entry.tags) { + Tag(tag) + } } } }