<Jetpack Compose: How to handle conditional naviga...
# stackoverflow
u
Jetpack Compose: How to handle conditional navigation event? I have 2 screens. One is ForgotPasswordScreen which contains an input that the user sends a code to his email and the other is ResetPasswordScreen which I navigate the user to after the reset password code has been sent to his email. Here is the ForgotPasswordScreen:

https://i.stack.imgur.com/PgwdRl.png

So as you can see it contains just an input that the user enters his email into it. I have 4 state classes for this screen: sealed class...