fix(ContactsView): button is in the wrong position

Fixes #8080
This commit is contained in:
Lukáš Tinkl 2022-10-28 10:24:23 +02:00 committed by Lukáš Tinkl
parent 6de3466cb2
commit 27c883ae98
1 changed files with 5 additions and 7 deletions

View File

@ -25,14 +25,12 @@ SettingsContentBase {
property alias searchStr: searchBox.text
property bool isPending: false
headerComponents: [
StatusButton {
text: qsTr("Send contact request to chat key")
onClicked: {
sendContactRequest.open()
}
titleRowComponentLoader.sourceComponent: StatusButton {
text: qsTr("Send contact request to chat key")
onClicked: {
sendContactRequest.open()
}
]
}
function openContextMenu(publicKey, name, icon) {
contactContextMenu.selectedUserPublicKey = publicKey