Skip to content

Commit a0a2370

Browse files
committed
Updates code snippet for https://developer.android.com/quick-guides/content/support-multiple-links?hl=en (Multiple links in a text string) from deprecated pushStringAnnotation() to currently supported withLink().
1 parent 7e3844c commit a0a2370

File tree

1 file changed

+1
-0
lines changed
  • compose/snippets/src/main/java/com/example/compose/snippets/text

1 file changed

+1
-0
lines changed

compose/snippets/src/main/java/com/example/compose/snippets/text/TextSnippets.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,7 @@ fun AnnotatedStringWithLinkSample() {
573573
append("Compose guidance")
574574
pop()
575575
append(".")
576+
pop()
576577
}
577578
}
578579
)

0 commit comments

Comments
 (0)