From 420ea6e5609b49367e451b840554769e66b40b24 Mon Sep 17 00:00:00 2001 From: k1ngsterr1 Date: Thu, 19 Mar 2026 19:09:09 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D1=80=D1=8B?= =?UTF-8?q?=D0=B2=D0=BA=D0=B8=20=D0=B0=D0=BD=D0=B8=D0=BC=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D0=B8=20=D0=B1=D0=BB=D0=BE=D0=BA=D0=B0=20=D1=80=D0=B5=D0=BA?= =?UTF-8?q?=D0=B2=D0=B5=D1=81=D1=82=D0=BE=D0=B2=20=D0=B2=20=D1=81=D0=BF?= =?UTF-8?q?=D0=B8=D1=81=D0=BA=D0=B5=20=D1=87=D0=B0=D1=82=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../messenger/ui/chats/ChatsListScreen.kt | 51 ++++--------------- 1 file changed, 9 insertions(+), 42 deletions(-) diff --git a/app/src/main/java/com/rosetta/messenger/ui/chats/ChatsListScreen.kt b/app/src/main/java/com/rosetta/messenger/ui/chats/ChatsListScreen.kt index b83fcf9..2eeb0b5 100644 --- a/app/src/main/java/com/rosetta/messenger/ui/chats/ChatsListScreen.kt +++ b/app/src/main/java/com/rosetta/messenger/ui/chats/ChatsListScreen.kt @@ -2237,21 +2237,7 @@ fun ChatsListScreen( visible = isRequestsVisible, enter = - slideInVertically( - initialOffsetY = { - fullHeight -> - -fullHeight / - 3 - }, - animationSpec = - tween( - durationMillis = - 260, - easing = - FastOutSlowInEasing - ) - ) + - expandVertically( + expandVertically( expandFrom = Alignment .Top, @@ -2267,27 +2253,15 @@ fun ChatsListScreen( animationSpec = tween( durationMillis = - 180 + 180, + easing = + LinearOutSlowInEasing ), initialAlpha = 0.7f ), exit = - slideOutVertically( - targetOffsetY = { - fullHeight -> - -fullHeight / - 3 - }, - animationSpec = - tween( - durationMillis = - 220, - easing = - FastOutSlowInEasing - ) - ) + - shrinkVertically( + shrinkVertically( shrinkTowards = Alignment .Top, @@ -2303,7 +2277,9 @@ fun ChatsListScreen( animationSpec = tween( durationMillis = - 140 + 140, + easing = + FastOutLinearInEasing ) ) ) { @@ -2399,16 +2375,7 @@ fun ChatsListScreen( listBackgroundColor } - Column( - modifier = - Modifier.animateItemPlacement( - animationSpec = - tween( - durationMillis = 200, - easing = FastOutSlowInEasing - ) - ) - ) { + Column { SwipeableDialogItem( dialog = dialog,