fix: increase chat input maxLines from 4 to 8 for better long-text editing
Some checks failed
CI/CD Pipeline / Backend — Lint & Test (push) Has been cancelled
CI/CD Pipeline / Frontend — Lint & Build (push) Has been cancelled
CI/CD Pipeline / Docker — Build Check (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-30 00:33:46 +08:00
parent a5152b2ea5
commit 971f0c33a9

View File

@@ -261,7 +261,7 @@ fun ChatScreen(
Text(if (uiState.editingMessageId != null) "编辑消息..." else "输入消息...")
},
modifier = Modifier.weight(1f),
maxLines = 4,
maxLines = 8,
enabled = !uiState.isLoading && !uiState.isStreaming
)
Spacer(modifier = Modifier.width(8.dp))