Skip to content

Commit aab8ca1

Browse files
Ensure heightIn fix is included
1 parent c7aa60e commit aab8ca1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/kotlin/com/google/ai/sample/feature/multimodal/PhotoReasoningScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ fun PhotoReasoningScreen(
408408
value = systemMessage,
409409
onValueChange = onSystemMessageChanged,
410410
placeholder = { Text("Enter a system message here that will be sent with every request") },
411-
modifier = Modifier.fillMaxWidth().height(systemMessageHeight)
411+
modifier = Modifier.fillMaxWidth().heightIn(max = systemMessageHeight)
412412
.onFocusChanged { focusState -> isSystemMessageFocused = focusState.isFocused },
413413
minLines = currentMinLines,
414414
maxLines = currentMaxLines

0 commit comments

Comments
 (0)