add helper function for resetting path

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

View file

@ -338,7 +338,7 @@
async resetPath(contact) {
// remove contact from device
await this.connection.sendCommandResetPath(contact.publicKey);
await this.connection.resetPath(contact.publicKey);
// reload contacts
await this.loadContacts();