@@ -562,7 +562,7 @@ fun AnnotatedStringWithLinkSample() {
562
562
) {
563
563
append(" Android Developers " )
564
564
}
565
- append(" website, and check out the" )
565
+ append(" website, and check out the" )
566
566
withLink(
567
567
LinkAnnotation .Url (
568
568
" https://developer.android.com/jetpack/compose" ,
@@ -571,7 +571,7 @@ fun AnnotatedStringWithLinkSample() {
571
571
) {
572
572
append(" Compose guidance" )
573
573
}
574
- append(" ." )
574
+ append(" ." )
575
575
}
576
576
)
577
577
}
@@ -602,7 +602,7 @@ fun AnnotatedStringWithListenerSample() {
602
602
// [END android_compose_text_link_2]
603
603
604
604
@Composable
605
- private fun TextSample (samples : Map <String , @Composable ()- > Unit >) {
605
+ private fun TextSample (samples : Map <String , @Composable () - > Unit >) {
606
606
MaterialTheme {
607
607
Box (
608
608
Modifier
@@ -633,9 +633,10 @@ private fun TextSample(samples: Map<String, @Composable ()->Unit>) {
633
633
634
634
private const val SAMPLE_LONG_TEXT =
635
635
" Jetpack Compose is Android’s modern toolkit for building native UI. " +
636
- " It simplifies and accelerates UI development on Android bringing your apps " +
637
- " to life with less code, powerful tools, and intuitive Kotlin APIs. " +
638
- " It makes building Android UI faster and easier."
636
+ " It simplifies and accelerates UI development on Android bringing your apps " +
637
+ " to life with less code, powerful tools, and intuitive Kotlin APIs. " +
638
+ " It makes building Android UI faster and easier."
639
+
639
640
@Composable
640
641
@Preview
641
642
fun LineBreakSample () {
0 commit comments