Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix regression in dynamic labels with non-string typed arguments
Regression introduced in 76f9009
Reported in https://issuetracker.google.com/issues/316676794
  • Loading branch information
SimonMarquis authored Dec 16, 2023
commit 7d5acbb0c0798ccffea91830fa69ee6ce025e99f
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,8 @@ public open class NavDestination(
val value = context.getString(bundle.getInt(argName))
builder.append(value)
} else {
builder.append(bundle.getString(argName))
@Suppress("DEPRECATION")
builder.append(bundle[argName].toString())
}
} else {
throw IllegalArgumentException(
Expand Down