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
70bdd9140f
commit
c53c8bb08a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue