1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +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:
Joshua Goins 2025-02-01 10:15:35 -05:00
parent e5924b16fb
commit 6271a0fdc5

View file

@ -227,10 +227,9 @@ QQC2.Control {
below: passwordField below: passwordField
} }
FormCard.FormTextFieldDelegate { FormCard.FormPasswordFieldDelegate {
id: passwordField id: passwordField
label: LauncherCore.currentProfile.account.isSapphire ? i18n("Password") : i18n("Square Enix Password") label: LauncherCore.currentProfile.account.isSapphire ? i18n("Password") : i18n("Square Enix Password")
echoMode: TextInput.Password
focus: true focus: true
onAccepted: { onAccepted: {
if (otpField.visible) { if (otpField.visible) {