From 698a69dc03fa1195e4d1736cbf636fa9a8c7f436 Mon Sep 17 00:00:00 2001 From: Zach Date: Wed, 8 Jul 2026 20:43:58 -0700 Subject: [PATCH] Improve path formatting in message bubble to use zero-width space for better visual presentation --- lib/screens/channel_chat_screen.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/screens/channel_chat_screen.dart b/lib/screens/channel_chat_screen.dart index 8b6e2b28..2899d878 100644 --- a/lib/screens/channel_chat_screen.dart +++ b/lib/screens/channel_chat_screen.dart @@ -1579,11 +1579,12 @@ class _ChannelChatScreenState extends State { } String _formatPathPrefixes(Uint8List pathBytes) { - // Join with ", " (not bare ",") so long paths have soft-wrap break points - // and stay confined to the message bubble instead of overflowing right. + // Join with a comma + zero-width space (not ", ") so paths render as + // "5B,56,65" with no visible gap, while still giving long paths soft-wrap + // break points that keep them confined to the message bubble. return pathBytes .map((b) => b.toRadixString(16).padLeft(2, '0').toUpperCase()) - .join(', '); + .join(',​'); } Future openRegionSelectDialog(Channel channel) async {