mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 03:37:47 +00:00
Use FormPasswordFieldDelegate on the login page
This allows you to manually show the password, if you so desire.
This commit is contained in:
parent
e5924b16fb
commit
6271a0fdc5
1 changed files with 1 additions and 2 deletions
|
@ -227,10 +227,9 @@ QQC2.Control {
|
|||
below: passwordField
|
||||
}
|
||||
|
||||
FormCard.FormTextFieldDelegate {
|
||||
FormCard.FormPasswordFieldDelegate {
|
||||
id: passwordField
|
||||
label: LauncherCore.currentProfile.account.isSapphire ? i18n("Password") : i18n("Square Enix Password")
|
||||
echoMode: TextInput.Password
|
||||
focus: true
|
||||
onAccepted: {
|
||||
if (otpField.visible) {
|
||||
|
|
Loading…
Add table
Reference in a new issue