Skip to content

Commit 5f22684

Browse files
committed
Merge branch 'update-state-based-tf' of https://github.com/android/snippets into update-state-based-tf
2 parents f032627 + fd7f989 commit 5f22684

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ fun StateBasedTextSnippets() {
6060
// [START android_compose_state_text_0]
6161
TextField(
6262
state = rememberTextFieldState(initialText = "Hello"),
63-
label = { Text("Label")}
63+
label = { Text("Label") }
6464
)
6565
// [END android_compose_state_text_0]
6666

@@ -82,7 +82,7 @@ fun StyleTextField() {
8282
lineLimits = TextFieldLineLimits.MultiLine(maxHeightInLines = 2),
8383
placeholder = { Text("") },
8484
textStyle = TextStyle(color = Color.Blue, fontWeight = FontWeight.Bold),
85-
label = { Text("Enter text")},
85+
label = { Text("Enter text") },
8686
modifier = Modifier.padding(20.dp)
8787
)
8888
// [END android_compose_state_text_2]

0 commit comments

Comments
 (0)