(simpleapp) App Crashes when user click's Log Out.
kasem-sm opened this issue · 2 comments
kasem-sm commented
Logcat and fix for this issue attached:
Logcat: Process: dev.shreyaspatil.noty.simpleapp, PID: 14678 java.lang.IllegalArgumentException: Navigation action/destination dev.shreyaspatil.noty.simpleapp:id/action_notesFragment_to_loginFragment cannot be found from the current destination Destination(dev.shreyaspatil.noty.simpleapp:id/loginFragment) label=fragment_login class=dev.shreyaspatil.noty.simpleapp.view.login.LoginFragment at androidx.navigation.NavController.navigate(NavController.java:940)
Fix: To check current destination before navigating.
I can contribute to this issue as well if @PatilShreyas assigns me 😅.
PatilShreyas commented
Sure @kasem-sm you can take this up
PatilShreyas commented
Assigning this to you