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