fix(@desktop/settings): copy correct chat key in profile view

fixes: #5361
This commit is contained in:
Patryk Osmaczko 2022-04-05 17:50:11 +02:00 committed by osmaczko
parent 06fc0336c6
commit 6dec2eaaf1
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ ColumnLayout {
tooltip.text: qsTr("Copy to clipboard")
icon.name: "copy"
iconButton.onClicked: {
root.profileStore.copyToClipboard(root.profileStore.pubkey)
root.profileStore.copyToClipboard(subTitle)
tooltip.visible = !tooltip.visible
}
}