add helper function for removing contact

This commit is contained in:
liamcottle 2025-02-15 22:41:58 +13:00
parent fdc83c2f78
commit 2e3ecdb15e
2 changed files with 32 additions and 1 deletions

View file

@ -352,7 +352,7 @@
}
// remove contact from device
await this.connection.sendCommandRemoveContact(contact.publicKey);
await this.connection.removeContact(contact.publicKey);
// reload contacts
await this.loadContacts();