File tree 2 files changed +5
-1
lines changed
src/commonMain/kotlin/cafe/adriel/voyager/sample/multiplatform
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ kotlin {
72
72
73
73
implementation(projects.voyagerCore)
74
74
implementation(projects.voyagerNavigator)
75
+ implementation(projects.voyagerTransitions)
75
76
implementation(libs.coroutines.core)
76
77
}
77
78
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package cafe.adriel.voyager.sample.multiplatform
2
2
3
3
import androidx.compose.runtime.Composable
4
4
import cafe.adriel.voyager.navigator.Navigator
5
+ import cafe.adriel.voyager.transitions.SlideTransition
5
6
6
7
@Composable
7
8
public fun SampleApplication () {
@@ -11,5 +12,7 @@ public fun SampleApplication() {
11
12
println (" Navigator: Pop screen #${(currentScreen as BasicNavigationScreen ).index} " )
12
13
true
13
14
}
14
- )
15
+ ) { navigator ->
16
+ SlideTransition (navigator)
17
+ }
15
18
}
You can’t perform that action at this time.
0 commit comments