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
|
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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue