mirror of
https://github.com/bitfireAT/davx5-ose
synced 2024-09-06 18:01:11 +00:00
Don't move focus downward without reason (bitfireAT/davx5-ose#553)
This commit is contained in:
parent
78c148615a
commit
14ef74e231
|
@ -16,8 +16,6 @@ import androidx.compose.runtime.mutableStateOf
|
|||
import androidx.compose.runtime.remember
|
||||
import androidx.compose.runtime.setValue
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.focus.FocusDirection
|
||||
import androidx.compose.ui.platform.LocalFocusManager
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.text.input.KeyboardType
|
||||
import androidx.compose.ui.text.input.PasswordVisualTransformation
|
||||
|
@ -39,8 +37,6 @@ fun PasswordTextField(
|
|||
) {
|
||||
var passwordVisible by remember { mutableStateOf(false) }
|
||||
|
||||
LocalFocusManager.current.moveFocus(FocusDirection.Down)
|
||||
|
||||
OutlinedTextField(
|
||||
value = password,
|
||||
onValueChange = onPasswordChange,
|
||||
|
|
Loading…
Reference in a new issue