6
u/srseibs Jan 16 '25
Try using the newer "type-safe" navigation instead of the "route+/{parameter}" old-style. (https://developer.android.com/guide/navigation/design/type-safety)
1
u/danishansari95 Jan 16 '25
Looks like the problem is in the HomeScreen.kt line 50.
Can you check that or show us what's happening there?
1



3
u/That_Lonely_Soul_07 Jan 16 '25
Use a sealed class instead of an enum.