Skip to content

Commit

Permalink
fix: Glitch in event info dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Nov 19, 2023
1 parent 5f94ecf commit 4588d82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/pages/chat/event_info_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
1 change: 1 addition & 0 deletions lib/widgets/avatar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ class Avatar extends StatelessWidget {
),
),
PresenceBuilder(
client: client,
userId: presenceUserId,
builder: (context, presence) {
if (presence == null ||
Expand Down

0 comments on commit 4588d82

Please sign in to comment.