fix: name typo in DropdownMenu

This commit is contained in:
2023-11-20 02:28:09 +08:00
parent 35a5070fbb
commit 6de476c1aa

View File

@@ -328,7 +328,7 @@ private fun DropdownMenuContent(
style: DropdownMenuStyle, style: DropdownMenuStyle,
content: @Composable ColumnScope.() -> Unit content: @Composable ColumnScope.() -> Unit
) { ) {
val transition = updateTransition(expandedStates, label = "DropDownMenu") val transition = updateTransition(expandedStates, label = "DropdownMenu")
val scale by transition.animateFloat( val scale by transition.animateFloat(
transitionSpec = { transitionSpec = {
if (false isTransitioningTo true) tween( if (false isTransitioningTo true) tween(