File tree Expand file tree Collapse file tree 1 file changed +5
-19
lines changed
app/src/main/kotlin/com/wire/android/ui/calling/ongoing Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,6 @@ import android.content.pm.PackageManager
22
22
import android.view.View
23
23
import androidx.activity.compose.BackHandler
24
24
import androidx.appcompat.app.AppCompatActivity
25
- import androidx.compose.animation.AnimatedContent
26
- import androidx.compose.animation.slideInVertically
27
- import androidx.compose.animation.slideOutVertically
28
- import androidx.compose.animation.togetherWith
29
25
import androidx.compose.foundation.layout.Arrangement
30
26
import androidx.compose.foundation.layout.Box
31
27
import androidx.compose.foundation.layout.BoxWithConstraints
@@ -496,21 +492,11 @@ private fun OngoingCallContent(
496
492
}
497
493
}
498
494
499
- AnimatedContent (
500
- targetState = showInCallReactionsPanel && ! inPictureInPictureMode,
501
- transitionSpec = {
502
- val enter = slideInVertically(initialOffsetY = { it })
503
- val exit = slideOutVertically(targetOffsetY = { it })
504
- enter.togetherWith(exit)
505
- },
506
- label = " InCallReactions"
507
- ) { show ->
508
- if (show) {
509
- InCallReactionsPanel (
510
- onReactionClick = onReactionClick,
511
- onMoreClick = { showEmojiPicker = true }
512
- )
513
- }
495
+ if (showInCallReactionsPanel && ! inPictureInPictureMode) {
496
+ InCallReactionsPanel (
497
+ onReactionClick = onReactionClick,
498
+ onMoreClick = { showEmojiPicker = true }
499
+ )
514
500
}
515
501
516
502
EmojiPickerBottomSheet (
You can’t perform that action at this time.
0 commit comments