Browse Source

Merge pull request #2146 from element-hq/feature/fga/fix_2084

Fix room transition animation happens twice
pull/2151/head
ganfra 9 months ago committed by GitHub
parent
commit
7ca640561a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      appnav/src/main/kotlin/io/element/android/appnav/room/RoomFlowNode.kt
  2. 1
      changelog.d/2084.bugfix

5
appnav/src/main/kotlin/io/element/android/appnav/room/RoomFlowNode.kt

@ -26,6 +26,7 @@ import androidx.compose.runtime.getValue @@ -26,6 +26,7 @@ import androidx.compose.runtime.getValue
import androidx.compose.ui.Modifier
import androidx.lifecycle.lifecycleScope
import com.bumble.appyx.core.modality.BuildContext
import com.bumble.appyx.core.navigation.transition.JumpToEndTransitionHandler
import com.bumble.appyx.core.node.Node
import com.bumble.appyx.core.node.node
import com.bumble.appyx.core.plugin.Plugin
@ -130,7 +131,9 @@ class RoomFlowNode @AssistedInject constructor( @@ -130,7 +131,9 @@ class RoomFlowNode @AssistedInject constructor(
@Composable
override fun View(modifier: Modifier) {
BackstackView()
BackstackView(
transitionHandler = JumpToEndTransitionHandler(),
)
}
}

1
changelog.d/2084.bugfix

@ -0,0 +1 @@ @@ -0,0 +1 @@
Fix room transition animation happens twice.
Loading…
Cancel
Save