feat: Optimize animation duration for message input panel in ChatDetailScreen
This commit is contained in:
@@ -2310,11 +2310,11 @@ private fun MessageInputBar(
|
||||
visible = showPanel,
|
||||
enter = slideInVertically(
|
||||
initialOffsetY = { it }, // Снизу вверх
|
||||
animationSpec = tween(200, easing = FastOutSlowInEasing)
|
||||
animationSpec = tween(120, easing = FastOutSlowInEasing)
|
||||
),
|
||||
exit = slideOutVertically(
|
||||
targetOffsetY = { it }, // Сверху вниз
|
||||
animationSpec = tween(150, easing = FastOutSlowInEasing)
|
||||
animationSpec = tween(100, easing = FastOutSlowInEasing)
|
||||
)
|
||||
) {
|
||||
Box(
|
||||
|
||||
Reference in New Issue
Block a user