1
Fork 0
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:
Joshua Goins 2025-02-01 10:15:35 -05:00
parent e5924b16fb
commit 6271a0fdc5

View file

@ -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) {