diff --git a/ui/app/AppLayouts/Chat/CommunityComponents/CommunityProfilePopupMembersList.qml b/ui/app/AppLayouts/Chat/CommunityComponents/CommunityProfilePopupMembersList.qml index 76c7c7efd7..85857124ed 100644 --- a/ui/app/AppLayouts/Chat/CommunityComponents/CommunityProfilePopupMembersList.qml +++ b/ui/app/AppLayouts/Chat/CommunityComponents/CommunityProfilePopupMembersList.qml @@ -10,6 +10,7 @@ import StatusQ.Popups 0.1 import "../../../../imports" import "../../../../shared" +import "../components" Item { id: root @@ -174,7 +175,14 @@ Item { //% "View Profile" text: qsTrId("view-profile") icon.name: "channel" - onTriggered: openProfilePopup(model.userName, model.pubKey, memberItem.image.source, '', memberItem.nickname) + onTriggered: openPopup(profilePopup, { + noFooter: profileModel.profile.pubKey !== model.pubKey, + userName: model.userName, + fromAuthor: model.pubKey, + identicon: memberItem.image.source, + text: '', + nickname: memberItem.nickname + }) } StatusMenuSeparator { @@ -216,4 +224,14 @@ Item { } } } + + Component { + id: profilePopup + ProfilePopup { + height: 504 + onClosed: { + destroy() + } + } + } }