feat: try new screen transitions

Signed-off-by: Infi <wingit@geist.ga>
This commit is contained in:
Infi 2023-05-22 19:57:05 +02:00
parent 95a7e0dda0
commit 7fcc93219e
1 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@ fun AppEntrypoint() {
slideIntoContainer(
AnimatedContentScope.SlideDirection.Left,
animationSpec = RevoltTweenInt
) + fadeIn(animationSpec = RevoltTweenFloat)
)
},
exitTransition = {
slideOutOfContainer(
@ -92,13 +92,13 @@ fun AppEntrypoint() {
slideIntoContainer(
AnimatedContentScope.SlideDirection.Right,
animationSpec = RevoltTweenInt
) + fadeIn(animationSpec = RevoltTweenFloat)
)
},
popExitTransition = {
slideOutOfContainer(
AnimatedContentScope.SlideDirection.Right,
animationSpec = RevoltTweenInt
) + fadeOut(animationSpec = RevoltTweenFloat)
)
}
) {
composable("splash") { SplashScreen(navController) }