@@ -656,20 +656,17 @@ class StreamMessageRecipientHeader extends StatelessWidget {
656
656
657
657
final subscription = store.subscriptions[message.streamId];
658
658
final Color backgroundColor;
659
- final Color contrastingColor;
660
659
final Color iconColor;
661
660
if (subscription != null ) {
662
661
final swatch = subscription.colorSwatch ();
663
662
backgroundColor = swatch.barBackground;
664
- contrastingColor = Colors .black;
665
663
iconColor = swatch.iconOnBarBackground;
666
664
} else {
667
665
backgroundColor = _kUnsubscribedStreamRecipientHeaderColor;
668
- contrastingColor = Colors .black;
669
666
iconColor = Colors .black;
670
667
}
671
668
final textStyle = TextStyle (
672
- color: contrastingColor ,
669
+ color: Colors .black ,
673
670
fontSize: 16 ,
674
671
letterSpacing: proportionalLetterSpacing (context, 0.02 , baseFontSize: 16 ),
675
672
height: (18 / 16 ),
@@ -710,7 +707,7 @@ class StreamMessageRecipientHeader extends StatelessWidget {
710
707
// Icon is 16px wide here so horizontal padding is 1px.
711
708
padding: const EdgeInsets .symmetric (horizontal: 1 ),
712
709
child: Icon (size: 16 ,
713
- color: contrastingColor .withOpacity (0.6 ),
710
+ color: Colors .black .withOpacity (0.6 ),
714
711
ZulipIcons .chevron_right)),
715
712
]));
716
713
}
@@ -737,7 +734,7 @@ class StreamMessageRecipientHeader extends StatelessWidget {
737
734
// TODO topic links?
738
735
// Then web also has edit/resolve/mute buttons. Skip those for mobile.
739
736
RecipientHeaderDate (message: message,
740
- color: contrastingColor .withOpacity (0.4 )),
737
+ color: Colors .black .withOpacity (0.4 )),
741
738
])));
742
739
}
743
740
}
0 commit comments