add default channel image to theme

This commit is contained in:
Salvatore Giordano
2020-04-23 12:02:24 +02:00
parent 60f48177e4
commit 019d0aded8
5 changed files with 19 additions and 2 deletions
+1
View File
@@ -114,6 +114,7 @@ class StreamChatState extends State<StreamChat>
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(