Consistent codestyle
This commit is contained in:
		
							parent
							
								
									18af642f3f
								
							
						
					
					
						commit
						134bec7c97
					
				
					 1 changed files with 11 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -36,7 +36,11 @@ fun BasicField(
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
@Composable
 | 
			
		||||
fun EmailField(value: String, onNewValue: (String) -> Unit, modifier: Modifier = Modifier) {
 | 
			
		||||
fun EmailField(
 | 
			
		||||
    value: String,
 | 
			
		||||
    onNewValue: (String) -> Unit,
 | 
			
		||||
    modifier: Modifier = Modifier
 | 
			
		||||
) {
 | 
			
		||||
    OutlinedTextField(
 | 
			
		||||
        singleLine = true,
 | 
			
		||||
        modifier = modifier,
 | 
			
		||||
| 
						 | 
				
			
			@ -48,7 +52,11 @@ fun EmailField(value: String, onNewValue: (String) -> Unit, modifier: Modifier =
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
@Composable
 | 
			
		||||
fun PasswordField(value: String, onNewValue: (String) -> Unit, modifier: Modifier = Modifier) {
 | 
			
		||||
fun PasswordField(
 | 
			
		||||
    value: String,
 | 
			
		||||
    onNewValue: (String) -> Unit,
 | 
			
		||||
    modifier: Modifier = Modifier
 | 
			
		||||
) {
 | 
			
		||||
    PasswordField(value, AppText.password, onNewValue, modifier)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -91,4 +99,4 @@ private fun PasswordField(
 | 
			
		|||
        keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Password),
 | 
			
		||||
        visualTransformation = visualTransformation
 | 
			
		||||
    )
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue