Show the "Verify This Device" warning when turning on reverification

This is the only way to reverify your device again, so it's useful to
show this in that case.
This commit is contained in:
Joshua Goins
2025-09-07 11:50:04 +02:00
parent 390654fa4a
commit e7ed07e386

View File

@@ -38,7 +38,7 @@ FormCard.FormCardPage {
icon.name: "security-low"
text: i18nc("@action:button", "Verify This Device")
description: i18nc("@info:description", "This device is marked as insecure until it's verified by another device. It's recommended to verify as soon as possible.")
visible: !root.connection.isVerifiedSession
visible: !root.connection.isVerifiedSession || NeoChatConfig.alwaysVerifyDevice
onClicked: {
root.connection.startSelfVerification();
const dialog = Qt.createComponent("org.kde.kirigami", "PromptDialog").createObject(QQC2.Overlay.overlay, {