Update sdk

This commit is contained in:
Christian Pauly 2020-04-28 14:11:56 +02:00
commit 2ffbd751e1
13 changed files with 43 additions and 34 deletions

View file

@ -159,7 +159,9 @@ class _InvitationSelectionState extends State<InvitationSelection> {
itemCount: foundProfiles.length,
itemBuilder: (BuildContext context, int i) => ListTile(
leading: Avatar(
MxContent(foundProfiles[i]["avatar_url"] ?? ""),
foundProfiles[i]["avatar_url"] == null
? null
: Uri.parse(foundProfiles[i]["avatar_url"]),
foundProfiles[i]["display_name"] ??
foundProfiles[i]["user_id"],
),