Skip to content

Commit 20c08c8

Browse files
committed
msglist [nfc]: Inline a variable
1 parent 662a710 commit 20c08c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/widgets/message_list.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ class DmRecipientHeader extends StatelessWidget {
773773
style: recipientHeaderTextStyle(context),
774774
overflow: TextOverflow.ellipsis)),
775775
RecipientHeaderDate(message: message,
776-
color: _kDmRecipientHeaderDateColor),
776+
color: Colors.black.withOpacity(0.4)),
777777
]))));
778778
}
779779
}
@@ -782,7 +782,6 @@ class DmRecipientHeader extends StatelessWidget {
782782
// Header color from `color-background-private-message-header`
783783
// in zulip:web/styles/zulip.css .
784784
final _kDmRecipientHeaderColor = const HSLColor.fromAHSL(1, 46, 0.35, 0.93).toColor();
785-
final _kDmRecipientHeaderDateColor = Colors.black.withOpacity(0.4);
786785

787786
TextStyle recipientHeaderTextStyle(BuildContext context) {
788787
return TextStyle(

0 commit comments

Comments
 (0)