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

Fix room transition animation happens twice
This commit is contained in:
ganfra
2024-01-03 11:57:25 +01:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -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(
@Composable
override fun View(modifier: Modifier) {
BackstackView()
BackstackView(
transitionHandler = JumpToEndTransitionHandler(),
)
}
}

1
changelog.d/2084.bugfix Normal file
View File

@@ -0,0 +1 @@
Fix room transition animation happens twice.