Fixed avatars not loading correctly
This commit is contained in:
@ -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