Skip to content

Commit eda581d

Browse files
riggaroogithub-actions[bot]
authored andcommitted
Apply Spotless
1 parent 718d8b3 commit eda581d

File tree

1 file changed

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

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
package com.example.compose.snippets.text
2020

2121
import android.graphics.Typeface
22-
import android.provider.ContactsContract.CommonDataKinds.Email
2322
import androidx.compose.foundation.BorderStroke
2423
import androidx.compose.foundation.background
2524
import androidx.compose.foundation.basicMarquee
@@ -893,8 +892,6 @@ fun PasswordTextField() {
893892
}
894893
// [END android_compose_text_auto_format_phone_number_showhidepassword]
895894

896-
897-
898895
// [START android_compose_text_auto_format_phone_number_validatetext]
899896
class EmailViewModel : ViewModel() {
900897
var email by mutableStateOf("")
@@ -939,11 +936,11 @@ fun ValidatingInputTextField(
939936
@Preview
940937
@Composable
941938
fun ValidateInput() {
942-
val emailViewModel : EmailViewModel = viewModel<EmailViewModel>()
939+
val emailViewModel: EmailViewModel = viewModel<EmailViewModel>()
943940
ValidatingInputTextField(
944941
email = emailViewModel.email,
945942
updateState = { input -> emailViewModel.updateEmail(input) },
946943
validatorHasErrors = emailViewModel.emailHasErrors
947944
)
948945
}
949-
// [END android_compose_text_auto_format_phone_number_validatetext]
946+
// [END android_compose_text_auto_format_phone_number_validatetext]

0 commit comments

Comments
 (0)