Skip to content

Your phone, on your command. Gotcha is world's first fully on-device AI copilot for Android that turns natural language into real device actions — safely.

feat: update chat input field to support multiline text and rounded corners

Rishabh Bajpaid0a8a3a301a0
diff --git a/app/src/main/java/com/gotcha/ui/ChatScreen.kt b/app/src/main/java/com/gotcha/ui/ChatScreen.kt
index bec26c2..6568b08 100644
--- a/app/src/main/java/com/gotcha/ui/ChatScreen.kt
+++ b/app/src/main/java/com/gotcha/ui/ChatScreen.kt
@@ -201,11 +201,11 @@ fun ChatScreen(
value = input,
onValueChange = { input = it },
modifier = Modifier.weight(1f),
- shape = CircleShape,
+ shape = RoundedCornerShape(24.dp),
placeholder = { Text("Ask me to do something…") },
enabled = !state.isBusy && state.isConfigured,
- maxLines = 1,
- singleLine = true
+ maxLines = 6,
+ singleLine = false
)
Spacer(modifier = Modifier.width(8.dp))
// All action buttons use the same 40dp box so the layout never resizes