refactor: Avatar widget
This commit is contained in:
parent
29c0f12609
commit
53967eb1f0
20 changed files with 69 additions and 47 deletions
|
|
@ -91,10 +91,10 @@ class ChatEncryptionSettingsView extends StatelessWidget {
|
|||
},
|
||||
child: ListTile(
|
||||
leading: Avatar(
|
||||
room
|
||||
mxContent: room
|
||||
.getUserByMXIDSync(deviceKeys[i].userId)
|
||||
.avatarUrl,
|
||||
room
|
||||
name: room
|
||||
.getUserByMXIDSync(deviceKeys[i].userId)
|
||||
.calcDisplayname(),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue