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

View File

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