We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
const
1 parent b57c139 commit 71b4135Copy full SHA for 71b4135
lib/widgets/message_list.dart
@@ -656,16 +656,14 @@ class StreamMessageRecipientHeader extends StatelessWidget {
656
657
final subscription = store.subscriptions[message.streamId];
658
final Color backgroundColor;
659
- final Color contrastingColor;
+ const contrastingColor = Colors.black;
660
final Color iconColor;
661
if (subscription != null) {
662
final swatch = subscription.colorSwatch();
663
backgroundColor = swatch.barBackground;
664
- contrastingColor = Colors.black;
665
iconColor = swatch.iconOnBarBackground;
666
} else {
667
backgroundColor = _kUnsubscribedStreamRecipientHeaderColor;
668
669
iconColor = Colors.black;
670
}
671
final textStyle = TextStyle(
0 commit comments