Shorten navigation trace, fixes #271

Change-Id: I4b33800a538b13996fc68b48854be56251a9db2c
pull/329/head
Ben Weiss 2 years ago
parent 63880bd54d
commit 348e2cc6f4
No known key found for this signature in database
GPG Key ID: 8424F9C1E763A74C

@ -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