Fixed an composing order issue

master
Wynd 2025-12-21 21:10:29 +02:00
parent 79b3ae3f37
commit 6b8ac9270f
1 changed files with 23 additions and 23 deletions

View File

@ -100,30 +100,30 @@ fun RecipePreview(
} }
} }
} }
} Row(
Row( horizontalArrangement = Arrangement.Center,
horizontalArrangement = Arrangement.Center, modifier = Modifier
modifier = Modifier .fillMaxWidth()
.fillMaxWidth() .padding(bottom = 8.dp)
.padding(bottom = 8.dp) ) {
) { Text(
Text( text = entry.recipe.title,
text = entry.recipe.title, modifier = Modifier.fillMaxWidth(),
modifier = Modifier.fillMaxWidth(), style = TextStyle(
style = TextStyle( textAlign = TextAlign.Center,
textAlign = TextAlign.Center, fontSize = 7.em,
fontSize = 7.em, )
) )
) }
} Row(
Row( horizontalArrangement = Arrangement.End,
horizontalArrangement = Arrangement.End, modifier = Modifier
modifier = Modifier .fillMaxWidth()
.fillMaxWidth() .padding(bottom = 16.dp)
.padding(bottom = 16.dp) ) {
) { for (tag in entry.tags) {
for (tag in entry.tags) { Tag(tag)
Tag(tag) }
} }
} }
} }