Skip to content

Commit a7485d8

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 6ff6f71 commit a7485d8

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ fun AnnotatedStringWithLinkSample() {
562562
) {
563563
append("Android Developers ")
564564
pop()
565-
append("website, and check out the")
565+
append("website, and check out the" )
566566
}
567567
withLink(
568568
LinkAnnotation.Url(

0 commit comments

Comments
 (0)