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.
1 parent 9f3305f commit 7fcdd69Copy full SHA for 7fcdd69
lib/widgets/message_list.dart
@@ -66,7 +66,8 @@ class _MessageListPageState extends State<MessageListPage> {
66
67
case StreamNarrow(:final streamId):
68
case TopicNarrow(:final streamId):
69
- appBarBackgroundColor = store.subscriptions[streamId]?.colorSwatch().barBackground
+ final subscription = store.subscriptions[streamId];
70
+ appBarBackgroundColor = subscription?.colorSwatch().barBackground
71
?? _kUnsubscribedStreamRecipientHeaderColor;
72
// All recipient headers will match this color; remove distracting line
73
// (but are recipient headers even needed for topic narrows?)
0 commit comments