fix(Contacts): make add contact button work again

Adding a contact through the Add Contact Modal isn't working because the
function being called to add a contact doesn't actually exist.
This was most likely a mistake as the change was just to call that function
in question from a different property.

This commit does exactly that.

Fixes #1660
This commit is contained in:
Pascal Precht 2021-01-14 11:33:12 +01:00 committed by Iuri Matias
parent c328f332f6
commit 61e5bcb24b
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ Item {
disabled: !contactToAddInfo.visible
anchors.bottom: parent.bottom
onClicked: {
profileModel.addContact(profileModel.contacts.contactToAddPubKey);
profileModel.contacts.addContact(profileModel.contacts.contactToAddPubKey);
addContactModal.close()
}
}