We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a23df0 commit 71a8b47Copy full SHA for 71a8b47
app/src/main/java/dev/dimension/flare/ui/route/Router.kt
@@ -45,13 +45,13 @@ import soup.compose.material.motion.animation.translateXOut
45
@OptIn(ExperimentalMaterial3AdaptiveApi::class, ExperimentalSharedTransitionApi::class)
46
@Composable
47
internal fun Router(
48
- topLevelBackStack: TopLevelBackStack<DeeplinkRoute>,
+ topLevelBackStack: TopLevelBackStack<Route>,
49
navigationState: NavigationState,
50
openDrawer: () -> Unit,
51
) {
52
val listDetailStrategy = rememberListDetailSceneStrategy<NavKey>()
53
54
- fun navigate(route: DeeplinkRoute) {
+ fun navigate(route: Route) {
55
topLevelBackStack.add(route)
56
}
57
0 commit comments