fix: Glitch in event info dialog

This commit is contained in:
krille-chan 2023-11-19 09:44:58 +01:00
parent 5f94ecf1a0
commit 4588d82dad
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View file

@ -51,6 +51,7 @@ class EventInfoDialog extends StatelessWidget {
leading: Avatar(
mxContent: event.senderFromMemoryOrFallback.avatarUrl,
name: event.senderFromMemoryOrFallback.calcDisplayname(),
client: event.room.client,
presenceUserId: event.senderId,
),
title: Text(L10n.of(context)!.sender),

View file

@ -78,6 +78,7 @@ class Avatar extends StatelessWidget {
),
),
PresenceBuilder(
client: client,
userId: presenceUserId,
builder: (context, presence) {
if (presence == null ||