Update ui/imports/shared/views/ProfileDialogView.qml

Co-authored-by: Lukáš Tinkl <lukast@status.im>
This commit is contained in:
Mikhail Rogachev 2023-04-26 13:12:45 +04:00 committed by Jonathan Rainville
parent 0fc84852f3
commit 6ba6a5fcde
1 changed files with 1 additions and 1 deletions

View File

@ -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()