run faster animations

pull/990/head
Vitor Pamplona 2024-07-21 11:18:56 -04:00
rodzic a5c6f86b35
commit 52fef33662
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -114,8 +114,8 @@ fun AppNavigation(
NavHost( NavHost(
navController, navController,
startDestination = Route.Home.route, startDestination = Route.Home.route,
enterTransition = { fadeIn(animationSpec = tween(400)) }, enterTransition = { fadeIn(animationSpec = tween(200)) },
exitTransition = { fadeOut(animationSpec = tween(400)) }, exitTransition = { fadeOut(animationSpec = tween(200)) },
) { ) {
Route.Home.let { route -> Route.Home.let { route ->
composable( composable(