chore: remove unnecessary ChannelTheme class

This commit is contained in:
groovinchip
2021-07-29 09:23:50 -04:00
parent cede1b572a
commit 15defc4caa
9 changed files with 36 additions and 73 deletions
@@ -61,10 +61,7 @@ class ChannelInfo extends StatelessWidget {
if (watcherCount > 0) text += ' $watcherCount Online';
alternativeWidget = Text(
text,
style: StreamChatTheme.of(context)
.channelTheme
.channelHeaderTheme
.subtitleStyle,
style: StreamChatTheme.of(context).channelHeaderTheme.subtitleStyle,
);
} else {
final userId = StreamChat.of(context).currentUser?.id;