fix path trace overlay

This commit is contained in:
PacoX
2026-05-26 08:50:54 +02:00
parent 3d956596a5
commit 3a11e35a7a
+4 -3
View File
@@ -2366,9 +2366,10 @@ class _MapScreenState extends State<MapScreen> {
style: TextStyle(fontSize: 12, color: Colors.grey[700]),
),
SelectableText(
_pathTrace
.map((b) => b.toRadixString(16).padLeft(2, '0'))
.join(','),
PathHelper.splitPathBytes(
_pathTrace,
context.read<MeshCoreConnector>().pathHashByteWidth,
).map(PathHelper.formatHopHex).join(',') ,
style: TextStyle(fontSize: 18),
),
// const SizedBox(height: 6),