Merge branch 'krille/edits' into 'main'

design: Display edit marker in new bubbles

See merge request famedly/fluffychat!566
onboarding
Krille Fear 3 years ago
commit 6b5b3e6aa5

@ -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,
),
),
],
),
],
),
],

Loading…
Cancel
Save