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
+2 -1
View File
@@ -112,7 +112,8 @@ class ChannelImage extends StatelessWidget {
},
fit: BoxFit.cover,
)
: SizedBox(),
: StreamChatTheme.of(context)
.defaultChannelImage(context, channel),
Material(
color: Colors.transparent,
child: InkWell(