Skip to content

Commit 348e2cc

Browse files
Shorten navigation trace, fixes #271
Change-Id: I4b33800a538b13996fc68b48854be56251a9db2c
1 parent 63880bd commit 348e2cc

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/java/com/google/samples/apps/nowinandroid/ui

1 file changed

+1
-1
lines changed

app/src/main/java/com/google/samples/apps/nowinandroid/ui/NiaAppState.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class NiaAppState(
110110
* @param route: Optional route to navigate to in case the destination contains arguments.
111111
*/
112112
fun navigate(destination: NiaNavigationDestination, route: String? = null) {
113-
trace("Navigation: $destination") {
113+
trace("Navigation: ${destination.route}") {
114114
if (destination is TopLevelDestination) {
115115
navController.navigate(route ?: destination.route) {
116116
// Pop up to the start destination of the graph to

0 commit comments

Comments
 (0)