From 4ed908e4e8abb26e8807f3d575658b589ae0b2ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Fri, 31 May 2024 15:18:29 +0200 Subject: [PATCH] fix(ProfileDialogView): Share your own profile button is missing - do not fully deactivate the secondary button slot/loader as it's also used by the Share button Fixes #14995 --- ui/imports/shared/views/ProfileDialogView.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/imports/shared/views/ProfileDialogView.qml b/ui/imports/shared/views/ProfileDialogView.qml index 4ffeb73c26..9bc53fd753 100644 --- a/ui/imports/shared/views/ProfileDialogView.qml +++ b/ui/imports/shared/views/ProfileDialogView.qml @@ -319,11 +319,13 @@ Pane { Loader { Layout.alignment: Qt.AlignTop Layout.preferredHeight: menuButton.visible ? menuButton.height : -1 - active: root.idVerificationFlowsEnabled sourceComponent: { if (d.isCurrentUser && !root.readOnly) return btnShareProfile + if (!root.idVerificationFlowsEnabled) + return + if (d.isContact && !(d.isTrusted || d.isLocallyTrusted) && !d.isBlocked) { if (d.isVerificationRequestSent) return btnReviewIDVerificationReply