Remove unused path_provider entry

This commit is contained in:
Janez T
2026-03-07 20:23:09 +01:00
parent 79c8664d04
commit 3433eae3a6
11 changed files with 251 additions and 272 deletions

View File

@@ -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';