Fixed avatars not loading correctly
This commit is contained in:
1 parent
fd77f2b558
commit
ab2bead0b5
2 files changed
+1
-7
No files matched your search
@@ -53,7 +53,7 @@ class _ChatTileState extends State<ChatTile> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
bool isGroup = widget.data.type == GetRoomResponseObjectConversationType.oneToOne;
|
||||
bool isGroup = widget.data.type != GetRoomResponseObjectConversationType.oneToOne;
|
||||
UserAvatar circleAvatar = UserAvatar(username: widget.data.name, isGroup: isGroup);
|
||||
|
||||
return Consumer<ChatProps>(builder: (context, chatData, child) {
|
||||
|
||||
Reference in new issue
Block a user