Skip to content

Commit

Permalink
Fix snippet tag
Browse files Browse the repository at this point in the history
  • Loading branch information
riggaroo committed Aug 15, 2023
1 parent 856480e commit 79d18a4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ fun SmoothAnimateText() {
@Composable
fun AnimateTextColor() {
Box(modifier = Modifier.fillMaxSize()) {
// [START android_compose_animation_cookbook_text]
// [START android_compose_animation_cookbook_text_color]
val infiniteTransition = rememberInfiniteTransition(label = "infinite transition")
val animatedColor by infiniteTransition.animateColor(
initialValue = Color(0xFF60DDAD),
Expand All @@ -484,7 +484,7 @@ fun AnimateTextColor() {
modifier = Modifier.align(Alignment.Center).padding(16.dp)
// [END_EXCLUDE]
)
// [END android_compose_animation_cookbook_text]
// [END android_compose_animation_cookbook_text_color]
}
}

Expand Down

0 comments on commit 79d18a4

Please sign in to comment.