Reduce the amount of items in the account menu
The devices entry gone (not even Element has this) and so is the logout action. The Switch account menu item is moved to the bottom so its easier to access by mouse. The "Open Secret Backup" is moved under Security settings where it lives next to the other crypto-related settings.
This commit is contained in:
@@ -85,6 +85,19 @@ FormCard.FormCardPage {
|
||||
title: i18nc("@title:group", "Encryption")
|
||||
}
|
||||
FormCard.FormCard {
|
||||
FormCard.FormButtonDelegate {
|
||||
id: secretBackupDelegate
|
||||
text: i18nc("@action:inmenu", "Manage Secret Backup")
|
||||
description: i18nc("@info", "Import or unlock encryption keys from other devices.")
|
||||
icon.name: "unlock"
|
||||
onClicked: root.QQC2.ApplicationWindow.window.pageStack.pushDialogLayer(Qt.createComponent('org.kde.neochat', 'UnlockSSSSDialog'), {}, {
|
||||
title: i18nc("@title:window", "Manage Secret Backup")
|
||||
})
|
||||
}
|
||||
FormCard.FormDelegateSeparator {
|
||||
above: secretBackupDelegate
|
||||
below: importKeysDelegate
|
||||
}
|
||||
FormCard.FormButtonDelegate {
|
||||
id: importKeysDelegate
|
||||
text: i18nc("@action:button", "Import Keys")
|
||||
|
||||
Reference in New Issue
Block a user