mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
Support login for users without passwords (#421)
Just requires a username to be entered to enable the login button. Fixes #419
This commit is contained in:
parent
0f4254c6ec
commit
c97553f82a
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ fun SwitchUserContent(
|
|||
TextButton(
|
||||
stringRes = R.string.login,
|
||||
onClick = { onSubmit.invoke() },
|
||||
enabled = username.text.isNotNullOrBlank() && password.text.isNotNullOrBlank(),
|
||||
enabled = username.text.isNotNullOrBlank(),
|
||||
modifier = Modifier.align(Alignment.CenterHorizontally),
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue