diff --git a/app/src/main/kotlin/com/wire/android/ui/calling/ongoing/OngoingCallScreen.kt b/app/src/main/kotlin/com/wire/android/ui/calling/ongoing/OngoingCallScreen.kt index 529c306b99d..fe44fb626b0 100644 --- a/app/src/main/kotlin/com/wire/android/ui/calling/ongoing/OngoingCallScreen.kt +++ b/app/src/main/kotlin/com/wire/android/ui/calling/ongoing/OngoingCallScreen.kt @@ -22,10 +22,6 @@ import android.content.pm.PackageManager import android.view.View import androidx.activity.compose.BackHandler import androidx.appcompat.app.AppCompatActivity -import androidx.compose.animation.AnimatedContent -import androidx.compose.animation.slideInVertically -import androidx.compose.animation.slideOutVertically -import androidx.compose.animation.togetherWith import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.BoxWithConstraints @@ -496,21 +492,11 @@ private fun OngoingCallContent( } } - AnimatedContent( - targetState = showInCallReactionsPanel && !inPictureInPictureMode, - transitionSpec = { - val enter = slideInVertically(initialOffsetY = { it }) - val exit = slideOutVertically(targetOffsetY = { it }) - enter.togetherWith(exit) - }, - label = "InCallReactions" - ) { show -> - if (show) { - InCallReactionsPanel( - onReactionClick = onReactionClick, - onMoreClick = { showEmojiPicker = true } - ) - } + if (showInCallReactionsPanel && !inPictureInPictureMode) { + InCallReactionsPanel( + onReactionClick = onReactionClick, + onMoreClick = { showEmojiPicker = true } + ) } EmojiPickerBottomSheet(