From be92e56c3a1b70e75ae78f078519a800e2af7730 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 27 Oct 2025 18:55:31 -0400 Subject: [PATCH] Show less scary icon for neutral reasons when cancelling verification For example, accepting a verification on another device shows a giant red security icon which isn't really suitable. I chucked the dialog-information icon in for some of the neutral-sounding messages so this dialog can be a little less intimidating. BUG: 510421 FIXED-IN: 24.08.3 --- src/app/qml/VerificationCanceled.qml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/app/qml/VerificationCanceled.qml b/src/app/qml/VerificationCanceled.qml index 0b22e37e8..a9f35fb16 100644 --- a/src/app/qml/VerificationCanceled.qml +++ b/src/app/qml/VerificationCanceled.qml @@ -11,7 +11,19 @@ VerificationMessage { required property int reason - icon: "security-low" + icon: { + switch (root.reason) { + case KeyVerificationSession.TIMEOUT: + case KeyVerificationSession.REMOTE_TIMEOUT: + case KeyVerificationSession.USER: + case KeyVerificationSession.REMOTE_USER: + case KeyVerificationSession.SESSION_ACCEPTED: + case KeyVerificationSession.REMOTE_SESSION_ACCEPTED: + return "dialog-information"; + default: + return "security-low"; + } + } text: { switch (root.reason) { case KeyVerificationSession.NONE: