We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7aa60e commit aab8ca1Copy full SHA for aab8ca1
1 file changed
app/src/main/kotlin/com/google/ai/sample/feature/multimodal/PhotoReasoningScreen.kt
@@ -408,7 +408,7 @@ fun PhotoReasoningScreen(
408
value = systemMessage,
409
onValueChange = onSystemMessageChanged,
410
placeholder = { Text("Enter a system message here that will be sent with every request") },
411
- modifier = Modifier.fillMaxWidth().height(systemMessageHeight)
+ modifier = Modifier.fillMaxWidth().heightIn(max = systemMessageHeight)
412
.onFocusChanged { focusState -> isSystemMessageFocused = focusState.isFocused },
413
minLines = currentMinLines,
414
maxLines = currentMaxLines
0 commit comments