We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae8d9f3 commit 8cf5f60Copy full SHA for 8cf5f60
lib/widgets/message_list.dart
@@ -852,8 +852,6 @@ class MessageWithPossibleSender extends StatelessWidget {
852
@override
853
Widget build(BuildContext context) {
854
final message = item.message;
855
- final time = _kMessageTimestampFormat
856
- .format(DateTime.fromMillisecondsSinceEpoch(1000 * message.timestamp));
857
858
final Widget? senderRow = item.showSender
859
? Row(
@@ -874,7 +872,9 @@ class MessageWithPossibleSender extends StatelessWidget {
874
872
).merge(weightVariableTextStyle(context, wght: 600,
875
873
wghtIfPlatformRequestsBold: 900))),
876
])),
877
- Text(time,
+ Text(
+ _kMessageTimestampFormat.format(
+ DateTime.fromMillisecondsSinceEpoch(1000 * message.timestamp)),
878
style: TextStyle(
879
color: _kMessageTimestampColor,
880
fontFamily: 'Source Sans 3',
0 commit comments