Skip to content

Commit

Permalink
Fix/trigger onContactDeleted when revoking a relationship (#299)
Browse files Browse the repository at this point in the history
* chore: formatting

* fix: trigger onContactDeleted when revoking a relationship
  • Loading branch information
jkoenig134 authored Oct 10, 2024
1 parent 2e0dfec commit 9889740
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/enmeshed/lib/core/utils/contact_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ Future<void> deleteContact({
return;
}

onContactDeleted();
return;
}

Expand All @@ -135,5 +136,6 @@ Future<void> deleteContact({
GetIt.I.get<Logger>().e(result.error);
return;
}

onContactDeleted();
}

0 comments on commit 9889740

Please sign in to comment.