Skip to content

Commit e741dc4

Browse files
committed
Fix spotless
1 parent 8feca8d commit e741dc4

File tree

1 file changed

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

1 file changed

+7
-6
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ fun AnnotatedStringWithLinkSample() {
562562
) {
563563
append("Android Developers ")
564564
}
565-
append("website, and check out the" )
565+
append("website, and check out the")
566566
withLink(
567567
LinkAnnotation.Url(
568568
"https://developer.android.com/jetpack/compose",
@@ -571,7 +571,7 @@ fun AnnotatedStringWithLinkSample() {
571571
) {
572572
append("Compose guidance")
573573
}
574-
append(".")
574+
append(".")
575575
}
576576
)
577577
}
@@ -602,7 +602,7 @@ fun AnnotatedStringWithListenerSample() {
602602
// [END android_compose_text_link_2]
603603

604604
@Composable
605-
private fun TextSample(samples: Map<String, @Composable ()->Unit>) {
605+
private fun TextSample(samples: Map<String, @Composable () -> Unit>) {
606606
MaterialTheme {
607607
Box(
608608
Modifier
@@ -633,9 +633,10 @@ private fun TextSample(samples: Map<String, @Composable ()->Unit>) {
633633

634634
private const val SAMPLE_LONG_TEXT =
635635
"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+
639640
@Composable
640641
@Preview
641642
fun LineBreakSample() {

0 commit comments

Comments
 (0)