@@ -115,9 +115,10 @@ private fun ReasoningBlock(text: String, streaming: Boolean, modifier: Modifier)
118− " ${if (streaming) stringResource(R.string.thinking) else stringResource(R.string.thoughts)}",
118+ if (streaming) stringResource(R.string.thinking) else stringResource(R.string.thoughts),
119 style = MaterialTheme.typography.labelMedium,
119 style = MaterialTheme.typography.labelMedium,
120 color = MaterialTheme.colorScheme.onSurfaceVariant,
120 color = MaterialTheme.colorScheme.onSurfaceVariant,
121+ modifier = Modifier.padding(start = 6.dp),
123 AnimatedVisibility(visible = expanded) {
124 AnimatedVisibility(visible = expanded) {
@@ -132,7 +133,7 @@ private fun ReasoningBlock(text: String, streaming: Boolean, modifier: Modifier)
132 contentPadding = androidx.compose.foundation.layout.PaddingValues(horizontal = 0.dp),
133 contentPadding = androidx.compose.foundation.layout.PaddingValues(horizontal = 0.dp),
134 Icon(Icons.Filled.ContentCopy, contentDescription = null, modifier = Modifier.size(14.dp))
135 Icon(Icons.Filled.ContentCopy, contentDescription = null, modifier = Modifier.size(14.dp))
135− Text(" " + stringResource(R.string.copy), style = MaterialTheme.typography.labelSmall)
136+ Text(stringResource(R.string.copy), style = MaterialTheme.typography.labelSmall, modifier = Modifier.padding(start = 4.dp))
@@ -152,9 +153,10 @@ private fun ToolCallView(part: ToolPart, modifier: Modifier) {
152 Row(verticalAlignment = Alignment.CenterVertically) {
153 Row(verticalAlignment = Alignment.CenterVertically) {
153 ToolStatusIcon(part.state)
154 ToolStatusIcon(part.state)
155− " ${part.tool}",
156+ part.tool,
156 style = MaterialTheme.typography.labelLarge,
157 style = MaterialTheme.typography.labelLarge,
157 fontFamily = FontFamily.Monospace,
158 fontFamily = FontFamily.Monospace,
159+ modifier = Modifier.padding(start = 6.dp),
160 val detail = when (val s = part.state) {
162 val detail = when (val s = part.state) {
@@ -187,8 +189,9 @@ private fun ToolCallView(part: ToolPart, modifier: Modifier) {
187 modifier = Modifier.size(16.dp),
189 modifier = Modifier.size(16.dp),
190− " ${if (expanded) stringResource(R.string.show_less) else stringResource(R.string.show_more)}",
192+ if (expanded) stringResource(R.string.show_less) else stringResource(R.string.show_more),
191 style = MaterialTheme.typography.labelSmall,
193 style = MaterialTheme.typography.labelSmall,
194+ modifier = Modifier.padding(start = 4.dp),
@@ -197,7 +200,7 @@ private fun ToolCallView(part: ToolPart, modifier: Modifier) {
197 contentPadding = androidx.compose.foundation.layout.PaddingValues(horizontal = 0.dp),
200 contentPadding = androidx.compose.foundation.layout.PaddingValues(horizontal = 0.dp),
199 Icon(Icons.Filled.ContentCopy, contentDescription = null, modifier = Modifier.size(14.dp))
202 Icon(Icons.Filled.ContentCopy, contentDescription = null, modifier = Modifier.size(14.dp))
200− Text(" " + stringResource(R.string.copy), style = MaterialTheme.typography.labelSmall)
203+ Text(stringResource(R.string.copy), style = MaterialTheme.typography.labelSmall, modifier = Modifier.padding(start = 4.dp))
@@ -233,8 +236,9 @@ private fun FileChip(part: FilePart, modifier: Modifier) {
233 tint = MaterialTheme.colorScheme.onSurfaceVariant,
236 tint = MaterialTheme.colorScheme.onSurfaceVariant,
236− " ${part.filename ?: part.url ?: stringResource(R.string.file)}",
239+ part.filename ?: part.url ?: stringResource(R.string.file),
237 style = MaterialTheme.typography.bodyMedium,
240 style = MaterialTheme.typography.bodyMedium,
241+ modifier = Modifier.padding(start = 6.dp),