fix(ui): remove background color from UserAvatar
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -76,9 +76,6 @@ class UserAvatar extends StatelessWidget {
|
|||||||
child: Container(
|
child: Container(
|
||||||
constraints: constraints ??
|
constraints: constraints ??
|
||||||
streamChatTheme.ownMessageTheme.avatarTheme?.constraints,
|
streamChatTheme.ownMessageTheme.avatarTheme?.constraints,
|
||||||
decoration: BoxDecoration(
|
|
||||||
color: streamChatTheme.colorTheme.accentPrimary,
|
|
||||||
),
|
|
||||||
child: hasImage
|
child: hasImage
|
||||||
? CachedNetworkImage(
|
? CachedNetworkImage(
|
||||||
fit: BoxFit.cover,
|
fit: BoxFit.cover,
|
||||||
|
|||||||
Reference in New Issue
Block a user