1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 12:47:44 +00:00

Add more ellipses when appropriate

This commit is contained in:
Joshua Goins 2024-04-01 15:19:15 -04:00
parent 5078da4e84
commit 262936f06d
3 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ FormCard.FormCardPage {
actions: [ actions: [
Kirigami.Action { Kirigami.Action {
text: i18n("Delete Account") text: i18n("Delete Account")
tooltip: !enabled ? i18n("Cannot delete the only account.") : "" tooltip: !enabled ? i18n("Cannot delete the only account.") : ""
icon.name: "delete" icon.name: "delete"
enabled: LauncherCore.accountManager.canDelete(page.account) enabled: LauncherCore.accountManager.canDelete(page.account)

View file

@ -66,7 +66,7 @@ FormCard.FormCardPage {
} }
FormCard.FormDelegateSeparator { FormCard.FormDelegateSeparator {
visible: layout.index + 1 < LauncherCore.accountManager.numAccounts() visible: layout.index + 1 < LauncherCore.accountManager.numAccounts
} }
} }
} }

View file

@ -22,7 +22,7 @@ FormCard.FormCardPage {
actions: [ actions: [
Kirigami.Action { Kirigami.Action {
text: i18n("Delete Profile") text: i18n("Delete Profile")
icon.name: "delete" icon.name: "delete"
enabled: LauncherCore.profileManager.canDelete(page.profile) enabled: LauncherCore.profileManager.canDelete(page.profile)
tooltip: !enabled ? i18n("Cannot delete the only profile.") : "" tooltip: !enabled ? i18n("Cannot delete the only profile.") : ""