BIT-754 Add singleLine = true to text field components (#99)

This commit is contained in:
Andrew Haisting 2023-10-06 13:48:58 -05:00 committed by Álison Fernandes
parent 31386b458d
commit 594c466467
2 changed files with 2 additions and 0 deletions

View file

@ -51,6 +51,7 @@ fun BitwardenPasswordField(
} else {
PasswordVisualTransformation()
},
singleLine = true,
keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Password),
trailingIcon = {
IconButton(

View file

@ -26,6 +26,7 @@ fun BitwardenTextField(
label = { Text(text = label) },
value = value,
onValueChange = onValueChange,
singleLine = true,
)
}