mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-18 10:52:34 +01:00
fix: Give message edits padding
This commit is contained in:
parent
7b412bb8b9
commit
69b7359b96
@ -220,22 +220,25 @@ class Message extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
if (event.hasAggregatedEvents(
|
if (event.hasAggregatedEvents(
|
||||||
timeline, RelationshipTypes.edit))
|
timeline, RelationshipTypes.edit))
|
||||||
Row(
|
Padding(
|
||||||
mainAxisSize: MainAxisSize.min,
|
padding: const EdgeInsets.only(top: 4.0),
|
||||||
children: [
|
child: Row(
|
||||||
Icon(
|
mainAxisSize: MainAxisSize.min,
|
||||||
Icons.edit_outlined,
|
children: [
|
||||||
color: textColor.withAlpha(164),
|
Icon(
|
||||||
size: 14,
|
Icons.edit_outlined,
|
||||||
),
|
|
||||||
Text(
|
|
||||||
' - ${displayEvent.originServerTs.localizedTimeShort(context)}',
|
|
||||||
style: TextStyle(
|
|
||||||
color: textColor.withAlpha(164),
|
color: textColor.withAlpha(164),
|
||||||
fontSize: 12,
|
size: 14,
|
||||||
),
|
),
|
||||||
),
|
Text(
|
||||||
],
|
' - ${displayEvent.originServerTs.localizedTimeShort(context)}',
|
||||||
|
style: TextStyle(
|
||||||
|
color: textColor.withAlpha(164),
|
||||||
|
fontSize: 12,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user