From 0413b0c0b1ac55cf35bbe7b22a8796595d39f655 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 4 Oct 2020 19:22:31 +0200 Subject: [PATCH] fix: User Status crash --- lib/components/list_items/status_list_item.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/list_items/status_list_item.dart b/lib/components/list_items/status_list_item.dart index 7ed9680..1d5f272 100644 --- a/lib/components/list_items/status_list_item.dart +++ b/lib/components/list_items/status_list_item.dart @@ -17,7 +17,7 @@ class StatusListItem extends StatelessWidget { future: client.getProfileFromUserId(status.userId), builder: (context, snapshot) { final profile = - snapshot.data ?? Profile(client.userID, Uri.parse('')); + snapshot.data ?? Profile(status.userId.localpart, null); return InkWell( borderRadius: BorderRadius.circular(8), onTap: () => Navigator.of(context).push(