Android Jetpack Compose Navigation doesn't work
I'm making an android app using Jetpack Compose and I have a problem. I used navigation to change the screen. I wanted to change firstRunLayout to loginLayout. You can see that i put that log.d code in order to check if this worked and I found out that logcat prints that successfully. I want to change the screen when I navigate. Is there something wrong with my code?
@Composable
fun setUpNavHost(navController: NavHostController) {
NavHost(navController = navController, startDestination =...