mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-23 20:49:26 +01:00
fix: User Status crash
This commit is contained in:
parent
540ff683d8
commit
0413b0c0b1
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user