I know that ViewModels can see navigation params b...
# compose
r
I know that ViewModels can see navigation params by declaring a constructor that takes SavedStateHandle. But what's the right way to the ViewModel to see which nav "stack" it's in? I'm trying to make a ViewModel behave differently depending on which bottom nav stack it's in.