diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/MainNavHost.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/MainNavHost.kt index 897ceeadb..1313e6d2f 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/MainNavHost.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/MainNavHost.kt @@ -44,7 +44,9 @@ fun MainNavHost( currentDestination: MainNavigation, ) { NavHost( - navController, MainNavigation.startDestination, modifier = Modifier.safeDrawingPadding(), + navController = navController, + startDestination = MainNavigation.startDestination, + modifier = Modifier.safeDrawingPadding(), enterTransition = { if (currentDestination.enableTransition) fadeIn() else EnterTransition.None }, exitTransition = { if (currentDestination.enableTransition) fadeOut() else ExitTransition.None }, ) {