From 79d18a4db84f41d9a045f425ac529acde1085727 Mon Sep 17 00:00:00 2001 From: Rebecca Franks Date: Tue, 15 Aug 2023 12:33:02 +0100 Subject: [PATCH] Fix snippet tag --- .../compose/snippets/animations/AnimationQuickGuide.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compose/snippets/src/main/java/com/example/compose/snippets/animations/AnimationQuickGuide.kt b/compose/snippets/src/main/java/com/example/compose/snippets/animations/AnimationQuickGuide.kt index 4080fd89..7c649357 100644 --- a/compose/snippets/src/main/java/com/example/compose/snippets/animations/AnimationQuickGuide.kt +++ b/compose/snippets/src/main/java/com/example/compose/snippets/animations/AnimationQuickGuide.kt @@ -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), @@ -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] } }