fix(Settings): Centered send contact request popup

Closes #5732
This commit is contained in:
Alexandra Betouni 2022-05-16 13:31:24 +03:00 committed by Iuri Matias
parent 54e2217c93
commit 0d24a2520d
1 changed files with 3 additions and 2 deletions

View File

@ -329,6 +329,8 @@ SettingsContentBase {
Loader {
id: sendContactRequest
width: parent.width
height: parent.height
active: false
function open() {
@ -340,9 +342,8 @@ SettingsContentBase {
}
sourceComponent: SendContactRequestModal {
anchors.centerIn: root
anchors.centerIn: parent
contactsStore: root.contactsStore
onClosed: {
sendContactRequest.close();
}