refactor: Avatar widget
This commit is contained in:
parent
29c0f12609
commit
53967eb1f0
20 changed files with 69 additions and 47 deletions
|
|
@ -61,7 +61,7 @@ class ParticipantListItem extends StatelessWidget {
|
|||
],
|
||||
),
|
||||
subtitle: Text(user.id),
|
||||
leading: Avatar(user.avatarUrl, user.calcDisplayname()),
|
||||
leading: Avatar(mxContent: user.avatarUrl, name: user.calcDisplayname()),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue