Skip to content

Commit 638b01a

Browse files
thedmailgithub-actions[bot]
authored andcommitted
Apply Spotless
1 parent cca4341 commit 638b01a

File tree

1 file changed

+2
-3
lines changed
  • compose/snippets/src/main/java/com/example/compose/snippets/text

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ val Purple = Color(0xFF800080)
843843

844844
// [START android_compose_text_auto_format_phone_number_validatetext]
845845
@Composable
846-
fun ValidateInput () {
846+
fun ValidateInput() {
847847
class EmailViewModel : ViewModel() {
848848
var email by mutableStateOf("")
849849
private set
@@ -884,12 +884,11 @@ fun ValidateInput () {
884884
}
885885
)
886886

887-
888887
ValidatingInputTextField(
889888
email = emailViewModel.email,
890889
updateState = { input -> emailViewModel.updateEmail(input) },
891890
validatorHasErrors = emailViewModel.emailHasErrors
892891
)
893892
}
894893
}
895-
// [END android_compose_text_auto_format_phone_number_validatetext]
894+
// [END android_compose_text_auto_format_phone_number_validatetext]

0 commit comments

Comments
 (0)