1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-23 21:07:45 +00:00

Fix double separators on login page

This commit is contained in:
Joshua Goins 2023-10-11 12:59:34 -04:00
parent a0337e1aa5
commit 774b131062

View file

@ -213,7 +213,7 @@ QQC2.Control {
FormCard.FormDelegateSeparator { FormCard.FormDelegateSeparator {
above: passwordField above: passwordField
below: otpField below: LauncherCore.currentProfile.account.useOTP ? otpField : loginButton
} }
FormCard.FormTextFieldDelegate { FormCard.FormTextFieldDelegate {
@ -228,8 +228,9 @@ QQC2.Control {
} }
FormCard.FormDelegateSeparator { FormCard.FormDelegateSeparator {
above: otpField above: LauncherCore.currentProfile.account.useOTP ? otpField : passwordField
below: loginButton below: loginButton
visible: LauncherCore.currentProfile.account.useOTP
} }
FormCard.FormButtonDelegate { FormCard.FormButtonDelegate {
@ -274,6 +275,8 @@ QQC2.Control {
} }
FormCard.FormDelegateSeparator { FormCard.FormDelegateSeparator {
above: serverStatusButton
below: settingsButton
} }
FormCard.FormButtonDelegate { FormCard.FormButtonDelegate {