Merge pull request #3323 from pangeachat/limit-search-name
Limit space taken up by chat search result's sender name
This commit is contained in:
commit
c377cc8976
1 changed files with 19 additions and 6 deletions
|
|
@ -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…
Add table
Reference in a new issue