File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compose/snippets/src/main/java/com/example/compose/snippets/text Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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]
You can’t perform that action at this time.
0 commit comments