mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 15:02:33 +01:00
design: Display edit marker in new bubbles
This commit is contained in:
parent
d0e9c68827
commit
d5af6297f5
@ -218,6 +218,25 @@ class Message extends StatelessWidget {
|
|||||||
textColor: textColor,
|
textColor: textColor,
|
||||||
onInfoTab: onInfoTab,
|
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…
Reference in New Issue
Block a user