Skip to content
Snippets Groups Projects
Verified Commit 697611b9 authored by Sebastian's avatar Sebastian
Browse files

Fix focus issue on password form during account creation

parent d921aed3
No related branches found
No related tags found
1 merge request!188Fix focus issue on password form during account creation
Pipeline #10031 passed
...@@ -166,8 +166,8 @@ fun PasswordForm( ...@@ -166,8 +166,8 @@ fun PasswordForm(
showErrorWhen = AFTER_FOCUS_LOST_ONCE, showErrorWhen = AFTER_FOCUS_LOST_ONCE,
errorMessage = i18n("startup.error.password_too_weak"), errorMessage = i18n("startup.error.password_too_weak"),
keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Password, imeAction = ImeAction.Next), keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Password, imeAction = ImeAction.Next),
modifier = Modifier.fillMaxWidth().apply { modifier = Modifier.fillMaxWidth().run {
if (focusRequester != null) focusRequester(focusRequester) if (focusRequester != null) focusRequester(focusRequester) else this
}, },
onEnter = { focusManager.moveFocus(FocusDirection.Next) }, onEnter = { focusManager.moveFocus(FocusDirection.Next) },
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment