feat: Optimize animation duration for message input panel in ChatDetailScreen
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user