Fix room transition animation happens twice #2084

This commit is contained in:
ganfra 2024-01-02 16:13:46 +01:00
parent 2134004501
commit b04287bf81
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.