1
0
Fork 0
mirror of https://github.com/bitwarden/android.git synced 2025-02-20 13:59:56 +03:00

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

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
app/src/main/java/com/x8bit/bitwarden/ui/platform/components

View file

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

View file

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