#34 Added support for Group images

#18 Added Cache for avatar images
This commit is contained in:
MineTec committed 2024-02-25 17:05:36 +01:00
1 parent c2f05da96e
commit edb9b56637
5 files changed
+41 -16

No files matched your search

@@ -47,7 +47,7 @@ class _ChatInfoState extends State<ChatInfo> {
const SizedBox(height: 30),
GestureDetector(
child: UserAvatar(
username: widget.room.name,
id: isGroup ? widget.room.token : widget.room.name,
isGroup: isGroup,
size: 80,
),
@@ -21,7 +21,7 @@ class _ParticipantsListViewState extends State<ParticipantsListView> {
body: ListView(
children: widget.participantsResponse.data.map((participant) {
return ListTile(
leading: UserAvatar(username: participant.actorId),
leading: UserAvatar(id: participant.actorId),
title: Text(participant.displayName),
subtitle: participant.statusMessage != null ? Text(participant.statusMessage!) : null,
);