mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 08:20:36 +00:00
fix: Pass selfPoint to _routeCandidates after signature change
This commit is contained in:
@@ -157,7 +157,7 @@ class _ContactRouteDialogState extends State<ContactRouteDialog> {
|
||||
final selected = <Contact>[];
|
||||
final seen = <String>{};
|
||||
for (final token in tokens) {
|
||||
final match = _routeCandidates
|
||||
final match = _routeCandidates(selfPoint: null)
|
||||
.where(
|
||||
(contact) => contact.publicKeyHex.toUpperCase().startsWith(token),
|
||||
)
|
||||
@@ -276,7 +276,7 @@ class _ContactRouteDialogState extends State<ContactRouteDialog> {
|
||||
.toList();
|
||||
if (tokens.isEmpty) return null;
|
||||
final lastToken = tokens.last;
|
||||
final match = _routeCandidates
|
||||
final match = _routeCandidates(selfPoint: null)
|
||||
.where(
|
||||
(contact) => contact.publicKeyHex.toUpperCase().startsWith(lastToken),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user