I'm trying to use popUpTo with <Navigating with C...
# compose
s
I'm trying to use popUpTo with Navigating with Compose.
Copy code
popUpTo(Destination.OnboardingWelcomeScreen.route) { inclusive = true }
But it giving me error because it's expecting int instead of String.
p
Make sure you import
androidx.navigation.compose.popUpTo
s
Look like there is issue with Studio it's complaining even after import but app run fine.
same 1