chore: use ChannelPreviewTheme.of(context) rather than StreamChatTheme.of(context).channelPreviewTheme

This commit is contained in:
groovinchip
2021-08-02 11:02:55 -04:00
parent c3d2896071
commit 51e0eb9a13
@@ -68,7 +68,7 @@ class ChannelPreview extends StatelessWidget {
@override
Widget build(BuildContext context) {
final channelPreviewTheme = StreamChatTheme.of(context).channelPreviewTheme;
final channelPreviewTheme = ChannelPreviewTheme.of(context);
final streamChatState = StreamChat.of(context);
return BetterStreamBuilder<bool>(
stream: channel.isMutedStream,