Shorten navigation trace, fixes #271

Change-Id: I4b33800a538b13996fc68b48854be56251a9db2c
pull/1837/head
Ben Weiss 3 years ago
parent a8f0ce6491
commit 2230fb0259

@ -110,7 +110,7 @@ class NiaAppState(
* @param route: Optional route to navigate to in case the destination contains arguments.
*/
fun navigate(destination: NiaNavigationDestination, route: String? = null) {
trace("Navigation: $destination") {
trace("Navigation: ${destination.route}") {
if (destination is TopLevelDestination) {
navController.navigate(route ?: destination.route) {
// Pop up to the start destination of the graph to

Loading…
Cancel
Save