Open dimsuz opened 1 year ago
This piece of code
Row( modifier = Modifier .height(IntrinsicSize.Min), ) { Text( modifier = Modifier .fillMaxHeight(), text = "Hello world", ) }
results in an error:
Composable uses "height" modifier and contains a Text child. Use heightIn(min = N.dp) instead [ModifierHeightWithText]
which is incorrect as this doesn't make sense for IntrinsicSize overload of height.
IntrinsicSize
height
Exception is needed for this specific usage.
This piece of code
results in an error:
which is incorrect as this doesn't make sense for
IntrinsicSize
overload ofheight
.Exception is needed for this specific usage.