diff --git a/ui/imports/shared/views/ProfileDialogView.qml b/ui/imports/shared/views/ProfileDialogView.qml index b38c1f144b..08493e2da8 100644 --- a/ui/imports/shared/views/ProfileDialogView.qml +++ b/ui/imports/shared/views/ProfileDialogView.qml @@ -257,13 +257,18 @@ Pane { ConfirmationDialog { id: removeContactConfirmationDialog - header.title: qsTr("Remove contact '%1'").arg(d.mainDisplayName) - confirmationText: qsTr("This will remove the user as a contact. Please confirm.") + header.title: qsTr("Remove '%1' as a contact").arg(d.mainDisplayName) + confirmationText: qsTr("This will mean that you and '%1' will no longer be able to send direct messages to each other. You will need to send them a new Contact Request in order to message again. All previous direct messages between you and '%1' will be retained in read-only mode.").arg(d.mainDisplayName) + showCancelButton: true + cancelBtnType: "" onConfirmButtonClicked: { root.contactsStore.removeContact(root.publicKey) close() d.reload() } + onCancelButtonClicked: { + removeContactConfirmationDialog.close(); + } } ConfirmationDialog {