We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8559b03 + aab8ca1 commit ac60dfcCopy full SHA for ac60dfc
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