Suggest verifying your own device in Devices settings

This button is currently hidden under the user menu, but it should be
shown more prominently - especially under the Devices settings. The
button under the user menu and this new one is now hidden when your
device is already verified.
This commit is contained in:
Joshua Goins
2025-07-16 19:27:23 -04:00
parent 17af4dfddb
commit 5fe28cb183
5 changed files with 32 additions and 1 deletions

View File

@@ -88,9 +88,10 @@ KirigamiComponents.ConvergentContextMenu {
})
}
QQC2.Action {
Kirigami.Action {
text: i18nc("@action:inmenu", "Verify This Device")
icon.name: "security-low"
visible: !root.connection.isVerifiedSession()
onTriggered: {
root.connection.startSelfVerification();
const dialog = Qt.createComponent("org.kde.kirigami", "PromptDialog").createObject(QQC2.Overlay.overlay, {