mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
Remove unused path_provider entry
This commit is contained in:
@@ -231,10 +231,10 @@ extension ContactLocalization on Contact {
|
||||
}
|
||||
|
||||
String get routeSummary {
|
||||
if (routeIsUnknown || !routeHasPath) {
|
||||
return 'Flood/Unknown';
|
||||
if (routeIsUnknown) {
|
||||
return 'Unknown';
|
||||
}
|
||||
if (routeHopCount == 0) {
|
||||
if (!routeHasPath || routeHopCount == 0) {
|
||||
return 'Direct';
|
||||
}
|
||||
return '$routeHopCount hop${routeHopCount == 1 ? '' : 's'} via $routeHashSize-byte hashes';
|
||||
|
||||
Reference in New Issue
Block a user