fix single channel image
This commit is contained in:
@@ -136,6 +136,8 @@ class ChannelImage extends StatelessWidget {
|
|||||||
color: StreamChatTheme.of(context).accentColor,
|
color: StreamChatTheme.of(context).accentColor,
|
||||||
),
|
),
|
||||||
child: Stack(
|
child: Stack(
|
||||||
|
alignment: Alignment.center,
|
||||||
|
fit: StackFit.expand,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
image != null
|
image != null
|
||||||
? CachedNetworkImage(
|
? CachedNetworkImage(
|
||||||
|
|||||||
Reference in New Issue
Block a user