Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
florentmaitre committed Nov 29, 2024
1 parent a2b503d commit 36b7837
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ private fun CodeColumn(codeExample: String, modifier: Modifier = Modifier) {
var isExpanded by rememberSaveable { mutableStateOf(false) }
val linkStateDescription = stringResource(if (isExpanded) R.string.app_common_expanded_a11y else R.string.app_common_collapsed_a11y)
val linkContentDescription = stringResource(R.string.app_tokens_viewCodeExample_label)
val transition = updateTransition(targetState = isExpanded, label = "StarButtonTransition")
val transition = updateTransition(targetState = isExpanded, label = "LinkArrowTransition")
val linkArrowRotation by transition.animateFloat(
label = "LinkArrowRotation",
transitionSpec = {
Expand Down

0 comments on commit 36b7837

Please sign in to comment.