mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 19:48:52 +00:00
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:
parent
c328f332f6
commit
61e5bcb24b
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user