File tree Expand file tree Collapse file tree 4 files changed +0
-15
lines changed
Expand file tree Collapse file tree 4 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import 'action_sheet.dart';
1010import 'actions.dart' ;
1111import 'app_bar.dart' ;
1212import 'button.dart' ;
13- import 'icons.dart' ;
1413import 'message_list.dart' ;
1514import 'page.dart' ;
1615import 'remote_settings.dart' ;
@@ -95,7 +94,6 @@ class AllChannelsListEntry extends StatelessWidget {
9594 final store = PerAccountStoreWidget .of (context);
9695 final designVariables = DesignVariables .of (context);
9796 final channel = this .channel;
98- final Subscription ? subscription = channel is Subscription ? channel : null ;
9997 final hasContentAccess = store.selfHasContentAccess (channel);
10098
10199 return InkWell (
Original file line number Diff line number Diff line change @@ -483,7 +483,6 @@ class _StreamHeaderItem extends _HeaderItem with _LongPressable {
483483 }
484484 @override
485485 Widget build (BuildContext context) {
486- final zulipLocalizations = ZulipLocalizations .of (context);
487486 final designVariables = DesignVariables .of (context);
488487 return Material (
489488 color: collapsed
Original file line number Diff line number Diff line change @@ -528,19 +528,9 @@ class MessageListAppBarTitle extends StatelessWidget {
528528 Widget _buildStreamRow (BuildContext context, {
529529 ZulipStream ? stream,
530530 }) {
531- final store = PerAccountStoreWidget .of (context);
532531 final designVariables = DesignVariables .of (context);
533532 final zulipLocalizations = ZulipLocalizations .of (context);
534533
535- // A null [Icon.icon] makes a blank space.
536- IconData ? icon;
537- Color ? iconColor;
538- if (stream != null ) {
539- icon = iconDataForStream (stream);
540- iconColor = colorSwatchFor (context, store.subscriptions[stream.streamId])
541- .iconOnBarBackground;
542- }
543-
544534 return Row (
545535 mainAxisSize: MainAxisSize .min,
546536 // TODO(design): The vertical alignment of the stream privacy icon is a bit ad hoc.
@@ -1712,7 +1702,6 @@ class StreamMessageRecipientHeader extends StatelessWidget {
17121702
17131703 final swatch = colorSwatchFor (context, store.subscriptions[streamId]);
17141704 final backgroundColor = swatch.barBackground;
1715- final iconColor = swatch.iconOnBarBackground;
17161705
17171706 final Widget streamWidget;
17181707 if (! _containsDifferentChannels (narrow)) {
Original file line number Diff line number Diff line change @@ -292,7 +292,6 @@ class SubscriptionItem extends StatelessWidget {
292292 Widget build (BuildContext context) {
293293 final designVariables = DesignVariables .of (context);
294294
295- final swatch = colorSwatchFor (context, subscription);
296295 final hasUnreads = (unreadCount > 0 );
297296 final opacity = subscription.isMuted ? 0.55 : 1.0 ;
298297 return Material (
You can’t perform that action at this time.
0 commit comments