1
0
Fork 0
mirror of https://github.com/bitwarden/android.git synced 2025-02-22 16:49:13 +03:00

Update the text field to not use passed in modifier. ()

This commit is contained in:
Dave Severns 2024-12-23 15:51:11 -05:00 committed by GitHub
parent 688dd3a39b
commit ae8db9256c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -129,7 +129,7 @@ fun BitwardenTextField(
Box(modifier = modifier) {
OutlinedTextField(
colors = bitwardenTextFieldColors(),
modifier = modifier
modifier = Modifier
.testTag(textFieldTestTag.orEmpty())
.onGloballyPositioned { widthPx = it.size.width }
.onFocusEvent { focusState -> hasFocused = focusState.hasFocus }