diff --git a/androidApp/src/androidMain/kotlin/com/kgurgul/cpuinfo/tv/features/TvHostScreen.kt b/androidApp/src/androidMain/kotlin/com/kgurgul/cpuinfo/tv/features/TvHostScreen.kt index f3ae9ff3..8b272c71 100644 --- a/androidApp/src/androidMain/kotlin/com/kgurgul/cpuinfo/tv/features/TvHostScreen.kt +++ b/androidApp/src/androidMain/kotlin/com/kgurgul/cpuinfo/tv/features/TvHostScreen.kt @@ -126,34 +126,22 @@ fun TvHostScreen( NavHost( navController = navController, startDestination = TvHostScreen.Information.route, + enterTransition = { fadeIn() }, + exitTransition = { fadeOut() }, + popEnterTransition = { fadeIn() }, + popExitTransition = { fadeOut() }, ) { composable( route = TvHostScreen.Information.route, - enterTransition = { fadeIn() }, - exitTransition = { fadeOut() }, - popEnterTransition = { fadeIn() }, - popExitTransition = { fadeOut() }, ) { TvInfoContainerScreen() } composable( route = TvHostScreen.Applications.route, - enterTransition = { fadeIn() }, - exitTransition = { fadeOut() }, - popEnterTransition = { fadeIn() }, - popExitTransition = { fadeOut() }, ) { TvApplicationsScreen() } composable( route = TvHostScreen.Temperatures.route, - enterTransition = { fadeIn() }, - exitTransition = { fadeOut() }, - popEnterTransition = { fadeIn() }, - popExitTransition = { fadeOut() }, ) { TvTemperatureScreen() } composable( route = TvHostScreen.Settings.route, - enterTransition = { fadeIn() }, - exitTransition = { fadeOut() }, - popEnterTransition = { fadeIn() }, - popExitTransition = { fadeOut() }, ) { TvSettingsScreen() } } }