diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt index 15d2bc0907..a311a16f24 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt @@ -401,14 +401,22 @@ fun UserPicker( AnimatedVisibility( visible = newChat.isVisible(), - enter = if (appPlatform.isAndroid) slideInVertically( - initialOffsetY = { it }, - animationSpec = tween(durationMillis = 300) - ) else fadeIn(), - exit = if (appPlatform.isAndroid) slideOutVertically( - targetOffsetY = { it }, - animationSpec = tween(durationMillis = 300) - ) else fadeOut() + enter = if (appPlatform.isAndroid) { + slideInVertically( + initialOffsetY = { it }, + animationSpec = tween(durationMillis = 300) + ) + fadeIn(animationSpec = tween(durationMillis = 300)) + } else { + fadeIn() + }, + exit = if (appPlatform.isAndroid) { + slideOutVertically( + targetOffsetY = { it }, + animationSpec = tween(durationMillis = 300) + ) + fadeOut(animationSpec = tween(durationMillis = 300)) + } else { + fadeOut() + } ) { Box( Modifier