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 @@ -58,7 +58,7 @@ fun StateBasedTextSnippets() {
5858 // [START android_compose_state_text_0]
5959 TextField (
6060 state = rememberTextFieldState(initialText = " Hello" ),
61- label = { Text (" Label" )}
61+ label = { Text (" Label" ) }
6262 )
6363 // [END android_compose_state_text_0]
6464
@@ -80,7 +80,7 @@ fun StyleTextField() {
8080 lineLimits = TextFieldLineLimits .MultiLine (maxHeightInLines = 2 ),
8181 placeholder = { Text (" " ) },
8282 textStyle = TextStyle (color = Color .Blue , fontWeight = FontWeight .Bold ),
83- label = { Text (" Enter text" )},
83+ label = { Text (" Enter text" ) },
8484 modifier = Modifier .padding(20 .dp)
8585 )
8686 // [END android_compose_state_text_2]
You can’t perform that action at this time.
0 commit comments