Skip to content

Commit ac60dfc

Browse files
Merge pull request #57 from Android-PowerUser/feature-mistral-large-3
Ensure heightIn fix is included
2 parents 8559b03 + aab8ca1 commit ac60dfc

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)