From 3a11e35a7ae5dd42c66a25da433763cb2d9abddc Mon Sep 17 00:00:00 2001 From: PacoX Date: Tue, 26 May 2026 08:50:54 +0200 Subject: [PATCH] fix path trace overlay --- lib/screens/map_screen.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/screens/map_screen.dart b/lib/screens/map_screen.dart index d11b8ab8..f9cd382d 100644 --- a/lib/screens/map_screen.dart +++ b/lib/screens/map_screen.dart @@ -2366,9 +2366,10 @@ class _MapScreenState extends State { style: TextStyle(fontSize: 12, color: Colors.grey[700]), ), SelectableText( - _pathTrace - .map((b) => b.toRadixString(16).padLeft(2, '0')) - .join(','), + PathHelper.splitPathBytes( + _pathTrace, + context.read().pathHashByteWidth, + ).map(PathHelper.formatHopHex).join(',') , style: TextStyle(fontSize: 18), ), // const SizedBox(height: 6),