chore: use ChannelPreviewTheme.of(context) rather than StreamChatTheme.of(context).channelPreviewTheme
This commit is contained in:
@@ -68,7 +68,7 @@ class ChannelPreview extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final channelPreviewTheme = StreamChatTheme.of(context).channelPreviewTheme;
|
final channelPreviewTheme = ChannelPreviewTheme.of(context);
|
||||||
final streamChatState = StreamChat.of(context);
|
final streamChatState = StreamChat.of(context);
|
||||||
return BetterStreamBuilder<bool>(
|
return BetterStreamBuilder<bool>(
|
||||||
stream: channel.isMutedStream,
|
stream: channel.isMutedStream,
|
||||||
|
|||||||
Reference in New Issue
Block a user