diff --git a/ui/app/AppLayouts/Chat/components/ProfilePopup.qml b/ui/app/AppLayouts/Chat/components/ProfilePopup.qml index 9683cb2e65..e11bb5da8b 100644 --- a/ui/app/AppLayouts/Chat/components/ProfilePopup.qml +++ b/ui/app/AppLayouts/Chat/components/ProfilePopup.qml @@ -154,9 +154,10 @@ ModalPopup { } } - UnblockContactConfirmationDialog { + ConfirmationDialog { id: unblockContactConfirmationDialog - onUnblockButtonClicked: { + title: qsTr("Unblock user") + onConfirmButtonClicked: { profileModel.unblockContact(fromAuthor) unblockContactConfirmationDialog.close(); popup.close() @@ -396,8 +397,6 @@ ModalPopup { anchors.bottom: parent.bottom onClicked: { if (isBlocked) { - unblockContactConfirmationDialog.contactName = userName; - unblockContactConfirmationDialog.contactAddress = fromAuthor; unblockContactConfirmationDialog.open(); return; }