feat: try new screen transitions
Signed-off-by: Infi <wingit@geist.ga>
This commit is contained in:
parent
95a7e0dda0
commit
7fcc93219e
|
|
@ -80,7 +80,7 @@ fun AppEntrypoint() {
|
||||||
slideIntoContainer(
|
slideIntoContainer(
|
||||||
AnimatedContentScope.SlideDirection.Left,
|
AnimatedContentScope.SlideDirection.Left,
|
||||||
animationSpec = RevoltTweenInt
|
animationSpec = RevoltTweenInt
|
||||||
) + fadeIn(animationSpec = RevoltTweenFloat)
|
)
|
||||||
},
|
},
|
||||||
exitTransition = {
|
exitTransition = {
|
||||||
slideOutOfContainer(
|
slideOutOfContainer(
|
||||||
|
|
@ -92,13 +92,13 @@ fun AppEntrypoint() {
|
||||||
slideIntoContainer(
|
slideIntoContainer(
|
||||||
AnimatedContentScope.SlideDirection.Right,
|
AnimatedContentScope.SlideDirection.Right,
|
||||||
animationSpec = RevoltTweenInt
|
animationSpec = RevoltTweenInt
|
||||||
) + fadeIn(animationSpec = RevoltTweenFloat)
|
)
|
||||||
},
|
},
|
||||||
popExitTransition = {
|
popExitTransition = {
|
||||||
slideOutOfContainer(
|
slideOutOfContainer(
|
||||||
AnimatedContentScope.SlideDirection.Right,
|
AnimatedContentScope.SlideDirection.Right,
|
||||||
animationSpec = RevoltTweenInt
|
animationSpec = RevoltTweenInt
|
||||||
) + fadeOut(animationSpec = RevoltTweenFloat)
|
)
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
composable("splash") { SplashScreen(navController) }
|
composable("splash") { SplashScreen(navController) }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue