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,