Fix wrong message order and avatars

This commit is contained in:
2025-12-16 18:05:35 +03:00
Unverified
parent 25f2ebc67b
commit d2383415e3
2 changed files with 8 additions and 14 deletions
@@ -329,8 +329,7 @@ fun ChatScreen(
LazyColumn(
state = listState,
modifier = Modifier.fillMaxSize(), // Fill the entire space of the Box
verticalArrangement = Arrangement.spacedBy(4.dp, alignment = Alignment.Bottom),
reverseLayout = true // Display messages from bottom to top
verticalArrangement = Arrangement.spacedBy(4.dp, alignment = Alignment.Bottom)
) {
item { Spacer(Modifier.height(innerPadding.calculateBottomPadding())) } // Spacer for chat input
items(