mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 13:05:11 +00:00
fix: Glitch in event info dialog
This commit is contained in:
parent
5f94ecf1a0
commit
4588d82dad
2 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,7 @@ class EventInfoDialog extends StatelessWidget {
|
||||||
leading: Avatar(
|
leading: Avatar(
|
||||||
mxContent: event.senderFromMemoryOrFallback.avatarUrl,
|
mxContent: event.senderFromMemoryOrFallback.avatarUrl,
|
||||||
name: event.senderFromMemoryOrFallback.calcDisplayname(),
|
name: event.senderFromMemoryOrFallback.calcDisplayname(),
|
||||||
|
client: event.room.client,
|
||||||
presenceUserId: event.senderId,
|
presenceUserId: event.senderId,
|
||||||
),
|
),
|
||||||
title: Text(L10n.of(context)!.sender),
|
title: Text(L10n.of(context)!.sender),
|
||||||
|
|
|
@ -78,6 +78,7 @@ class Avatar extends StatelessWidget {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
PresenceBuilder(
|
PresenceBuilder(
|
||||||
|
client: client,
|
||||||
userId: presenceUserId,
|
userId: presenceUserId,
|
||||||
builder: (context, presence) {
|
builder: (context, presence) {
|
||||||
if (presence == null ||
|
if (presence == null ||
|
||||||
|
|
Loading…
Reference in a new issue