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 alias searchStr: searchBox.text
property bool isPending: false property bool isPending: false
headerComponents: [ titleRowComponentLoader.sourceComponent: StatusButton {
StatusButton {
text: qsTr("Send contact request to chat key") text: qsTr("Send contact request to chat key")
onClicked: { onClicked: {
sendContactRequest.open() sendContactRequest.open()
} }
} }
]
function openContextMenu(publicKey, name, icon) { function openContextMenu(publicKey, name, icon) {
contactContextMenu.selectedUserPublicKey = publicKey contactContextMenu.selectedUserPublicKey = publicKey