feat: Optimize animation duration for message input panel in ChatDetailScreen

This commit is contained in:
k1ngsterr1
2026-01-14 02:43:58 +05:00
parent 8c5efae0a1
commit b83b529b8d

View File

@@ -2310,11 +2310,11 @@ private fun MessageInputBar(
visible = showPanel, visible = showPanel,
enter = slideInVertically( enter = slideInVertically(
initialOffsetY = { it }, // Снизу вверх initialOffsetY = { it }, // Снизу вверх
animationSpec = tween(200, easing = FastOutSlowInEasing) animationSpec = tween(120, easing = FastOutSlowInEasing)
), ),
exit = slideOutVertically( exit = slideOutVertically(
targetOffsetY = { it }, // Сверху вниз targetOffsetY = { it }, // Сверху вниз
animationSpec = tween(150, easing = FastOutSlowInEasing) animationSpec = tween(100, easing = FastOutSlowInEasing)
) )
) { ) {
Box( Box(