Merge pull request #3323 from pangeachat/limit-search-name

Limit space taken up by chat search result's sender name
pull/2245/head
ggurdin 4 months ago committed by GitHub
commit c377cc8976
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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(

Loading…
Cancel
Save