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
return GestureDetector (
859
857
behavior: HitTestBehavior .translucent,
@@ -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