Update ui/imports/shared/views/ProfileDialogView.qml
Co-authored-by: Lukáš Tinkl <lukast@status.im>
This commit is contained in:
parent
0fc84852f3
commit
6ba6a5fcde
|
@ -407,7 +407,7 @@ Pane {
|
||||||
id: moreMenu
|
id: moreMenu
|
||||||
width: 230
|
width: 230
|
||||||
SendContactRequestMenuItem {
|
SendContactRequestMenuItem {
|
||||||
enabled: !d.isContact && !d.isBlocked && !d.contactRequestState === Constants.ContactRequestState.Sent &&
|
enabled: !d.isContact && !d.isBlocked && d.contactRequestState !== Constants.ContactRequestState.Sent &&
|
||||||
d.contactDetails.trustStatus === Constants.trustStatus.untrustworthy // we have an action button otherwise
|
d.contactDetails.trustStatus === Constants.trustStatus.untrustworthy // we have an action button otherwise
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
moreMenu.close()
|
moreMenu.close()
|
||||||
|
|
Loading…
Reference in New Issue