diff --git a/lib/pages/chat_search/chat_search_message_tab.dart b/lib/pages/chat_search/chat_search_message_tab.dart index abf36f0a3..5305244c3 100644 --- a/lib/pages/chat_search/chat_search_message_tab.dart +++ b/lib/pages/chat_search/chat_search_message_tab.dart @@ -143,15 +143,28 @@ class _MessageSearchResultListTile extends StatelessWidget { size: 16, ), const SizedBox(width: 8), - Text( - displayname, - ), - Expanded( + // #Pangea + // Text( + // displayname, + // ), + // Expanded( + // child: Text( + // ' | ${event.originServerTs.localizedTimeShort(context)}', + // style: const TextStyle(fontSize: 12), + // ), + // ), + Flexible( child: Text( - ' | ${event.originServerTs.localizedTimeShort(context)}', - style: const TextStyle(fontSize: 12), + displayname, + maxLines: 1, + overflow: TextOverflow.ellipsis, ), ), + Text( + ' | ${event.originServerTs.localizedTimeShort(context)}', + style: const TextStyle(fontSize: 12), + ), + // Pangea# ], ), subtitle: Linkify(