add default channel image to theme

This commit is contained in:
Salvatore Giordano
2020-04-23 15:43:49 +02:00
parent 706c3d70b4
commit 81ec083378
5 changed files with 19 additions and 2 deletions
+1
View File
@@ -112,6 +112,7 @@ class StreamChatState extends State<StreamChat> with WidgetsBindingObserver {
final defaultTheme = StreamChatThemeData.getDefaultTheme(Theme.of(context));
final theme = defaultTheme.copyWith(
primaryColor: themeData?.primaryColor,
defaultChannelImage: themeData?.defaultChannelImage,
channelTheme: defaultTheme.channelTheme.copyWith(
channelHeaderTheme:
defaultTheme.channelTheme.channelHeaderTheme.copyWith(