Fixed avatars not loading correctly

This commit is contained in:
2023-09-12 10:00:57 +02:00
parent fd77f2b558
commit ab2bead0b5
2 changed files with 1 additions and 7 deletions

View File

@ -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) {