File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -852,8 +852,6 @@ class MessageWithPossibleSender extends StatelessWidget {
852
852
@override
853
853
Widget build (BuildContext context) {
854
854
final message = item.message;
855
- final time = _kMessageTimestampFormat
856
- .format (DateTime .fromMillisecondsSinceEpoch (1000 * message.timestamp));
857
855
858
856
final Widget ? senderRow = item.showSender
859
857
? Row (
@@ -874,7 +872,9 @@ class MessageWithPossibleSender extends StatelessWidget {
874
872
).merge (weightVariableTextStyle (context, wght: 600 ,
875
873
wghtIfPlatformRequestsBold: 900 ))),
876
874
])),
877
- Text (time,
875
+ Text (
876
+ _kMessageTimestampFormat.format (
877
+ DateTime .fromMillisecondsSinceEpoch (1000 * message.timestamp)),
878
878
style: TextStyle (
879
879
color: _kMessageTimestampColor,
880
880
fontFamily: 'Source Sans 3' ,
You can’t perform that action at this time.
0 commit comments