Skip to content

Commit cfeb99f

Browse files
committed
Update AutofillSnippets.kt
spacing
1 parent 77bd621 commit cfeb99f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,17 +111,15 @@ fun SaveDataWithAutofillOnClick() {
111111
TextField(
112112
value = textFieldValue.value,
113113
onValueChange = { textFieldValue.value = it },
114-
modifier =
115-
Modifier.semantics { contentType = ContentType.NewUsername },
114+
modifier = Modifier.semantics { contentType = ContentType.NewUsername },
116115
)
117116

118117
Spacer(modifier = Modifier.height(16.dp))
119118

120119
TextField(
121120
value = textFieldValue.value,
122121
onValueChange = { textFieldValue.value = it },
123-
modifier =
124-
Modifier.semantics { contentType = ContentType.NewPassword },
122+
modifier = Modifier.semantics { contentType = ContentType.NewPassword },
125123
)
126124

127125
// Submit button

0 commit comments

Comments
 (0)