Unify contact retrieval by introducing allContacts getter

This commit is contained in:
Winston Lowe
2026-03-14 11:45:47 -07:00
parent 8b280b37be
commit 79a45c527b
9 changed files with 25 additions and 29 deletions
+1 -4
View File
@@ -157,10 +157,7 @@ class _SNRIndicatorState extends State<SNRIndicator> {
repeater.snr,
widget.connector.currentSf,
);
final allContacts = [
...widget.connector.contacts,
...widget.connector.discoveredContacts,
];
final allContacts = widget.connector.allContacts;
final name = allContacts
.where((c) => c.publicKey.first == repeater.pubkeyFirstByte)
.map((c) => c.name)