File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -474,13 +474,13 @@ class DateSeparator extends StatelessWidget {
474
474
475
475
final Message message;
476
476
477
+ // This color matches recipient headers. TODO is that what we want?
478
+ static final _textColor = Colors .black.withOpacity (0.4 );
479
+
477
480
@override
478
481
Widget build (BuildContext context) {
479
482
final zulipLocalizations = ZulipLocalizations .of (context);
480
483
481
- // This color matches recipient headers. TODO is that what we want?
482
- final color = Colors .black.withOpacity (0.4 );
483
-
484
484
return ColoredBox (color: Colors .white,
485
485
child: Padding (
486
486
padding: const EdgeInsets .symmetric (vertical: 8 , horizontal: 2 ),
@@ -497,7 +497,7 @@ class DateSeparator extends StatelessWidget {
497
497
// TODO dedupe with RecipientHeaderDate
498
498
child: Text (
499
499
style: TextStyle (
500
- color: color ,
500
+ color: _textColor ,
501
501
fontFamily: 'Source Sans 3' ,
502
502
fontSize: 16 ,
503
503
// In Figma this has a line-height of 19, but using 18
You can’t perform that action at this time.
0 commit comments