@@ -42,6 +42,7 @@ import androidx.compose.foundation.text.KeyboardOptions
4242import androidx.compose.material.icons.Icons
4343import androidx.compose.material.icons.automirrored.filled.ArrowBack
4444import androidx.compose.material.icons.automirrored.filled.Send
45+import androidx.compose.material.icons.filled.ChatBubbleOutline
4546import androidx.compose.material.icons.filled.Close
4647import androidx.compose.material.icons.filled.KeyboardArrowDown
4748import androidx.compose.material.icons.filled.Stop
@@ -194,12 +195,24 @@ fun ChatScreen(state: UiState, dispatch: (Event) -> Unit) {
194195 }
195196 Box(Modifier.fillMaxWidth().weight(1f)) {
196197 if (state.messages.isEmpty() && !state.loading) {
197− Text(
198− text = "Send a message to start the conversation.",
199− style = MaterialTheme.typography.bodyMedium,
200− color = MaterialTheme.colorScheme.onSurfaceVariant,
198+ Column(
201199 modifier = Modifier.align(Alignment.Center).padding(32.dp),
202− )
200+ horizontalAlignment = Alignment.CenterHorizontally,
201+ ) {
202+ Icon(
203+ Icons.Filled.ChatBubbleOutline,
204+ contentDescription = null,
205+ modifier = Modifier.size(48.dp),
206+ tint = MaterialTheme.colorScheme.primary.copy(alpha = 0.5f),
207+ )
208+ Spacer(Modifier.size(16.dp))
209+ Text(
210+ text = "Send a message to start the conversation.",
211+ style = MaterialTheme.typography.bodyMedium,
212+ color = MaterialTheme.colorScheme.onSurfaceVariant,
213+ textAlign = TextAlign.Center,
214+ )
215+ }
203216 }
204217 LazyColumn(
205218 state = listState,