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
This commit is contained in:
parent
893bc70cde
commit
4ed908e4e8
|
@ -319,11 +319,13 @@ Pane {
|
||||||
Loader {
|
Loader {
|
||||||
Layout.alignment: Qt.AlignTop
|
Layout.alignment: Qt.AlignTop
|
||||||
Layout.preferredHeight: menuButton.visible ? menuButton.height : -1
|
Layout.preferredHeight: menuButton.visible ? menuButton.height : -1
|
||||||
active: root.idVerificationFlowsEnabled
|
|
||||||
sourceComponent: {
|
sourceComponent: {
|
||||||
if (d.isCurrentUser && !root.readOnly)
|
if (d.isCurrentUser && !root.readOnly)
|
||||||
return btnShareProfile
|
return btnShareProfile
|
||||||
|
|
||||||
|
if (!root.idVerificationFlowsEnabled)
|
||||||
|
return
|
||||||
|
|
||||||
if (d.isContact && !(d.isTrusted || d.isLocallyTrusted) && !d.isBlocked) {
|
if (d.isContact && !(d.isTrusted || d.isLocallyTrusted) && !d.isBlocked) {
|
||||||
if (d.isVerificationRequestSent)
|
if (d.isVerificationRequestSent)
|
||||||
return btnReviewIDVerificationReply
|
return btnReviewIDVerificationReply
|
||||||
|
|
Loading…
Reference in New Issue