design: Display edit marker in new bubbles

This commit is contained in:
Krille Fear 2021-11-21 14:26:40 +01:00
parent d0e9c68827
commit d5af6297f5

View File

@ -218,6 +218,25 @@ class Message extends StatelessWidget {
textColor: textColor,
onInfoTab: onInfoTab,
),
if (event.hasAggregatedEvents(
timeline, RelationshipTypes.edit))
Row(
mainAxisSize: MainAxisSize.min,
children: [
Icon(
Icons.edit_outlined,
color: textColor.withAlpha(164),
size: 14,
),
Text(
' - ${displayEvent.originServerTs.localizedTimeShort(context)}',
style: TextStyle(
color: textColor.withAlpha(164),
fontSize: 12,
),
),
],
),
],
),
],