Fixed avatars not loading correctly

This commit is contained in:
MineTec committed 2023-09-12 10:00:57 +02:00
1 parent fd77f2b558
commit ab2bead0b5
2 files changed
+1 -7

No files matched your search

+1 -1
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) {