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 @@ -849,8 +849,6 @@ class MessageWithPossibleSender extends StatelessWidget {
849
849
@override
850
850
Widget build (BuildContext context) {
851
851
final message = item.message;
852
- final time = _kMessageTimestampFormat
853
- .format (DateTime .fromMillisecondsSinceEpoch (1000 * message.timestamp));
854
852
855
853
final senderRow = item.showSender
856
854
? Padding (
@@ -898,7 +896,9 @@ class MessageWithPossibleSender extends StatelessWidget {
898
896
width: 80 ,
899
897
padding: const EdgeInsets .only (top: 4 , right: 16 - 8 ),
900
898
alignment: Alignment .topRight,
901
- child: Text (time,
899
+ child: Text (
900
+ _kMessageTimestampFormat.format (
901
+ DateTime .fromMillisecondsSinceEpoch (1000 * message.timestamp)),
902
902
style: TextStyle (
903
903
color: _kMessageTimestampColor,
904
904
fontFamily: 'Source Sans 3' ,
You can’t perform that action at this time.
0 commit comments