fix bug flutter bump introduced in mention overlay
This commit is contained in:
parent
f6b5bd4057
commit
06c5411dfc
1 changed files with 44 additions and 38 deletions
|
|
@ -73,7 +73,9 @@ class MentionOverlay extends ConsumerWidget {
|
|||
:final displayName,
|
||||
:final avatarUrl,
|
||||
) =>
|
||||
ListTile(
|
||||
Material(
|
||||
color: Colors.transparent,
|
||||
child: ListTile(
|
||||
leading: AvatarOrHash(
|
||||
avatarUrl,
|
||||
displayName ??
|
||||
|
|
@ -89,6 +91,7 @@ class MentionOverlay extends ConsumerWidget {
|
|||
name: member.stateKey!.localpart,
|
||||
),
|
||||
),
|
||||
),
|
||||
_ => SizedBox.shrink(),
|
||||
},
|
||||
)
|
||||
|
|
@ -113,7 +116,9 @@ class MentionOverlay extends ConsumerWidget {
|
|||
room.metadata?.canonicalAlias ??
|
||||
room.metadata?.id ??
|
||||
"Unknown Room";
|
||||
return ListTile(
|
||||
return Material(
|
||||
color: Colors.transparent,
|
||||
child: ListTile(
|
||||
leading: AvatarOrHash(
|
||||
room.metadata?.avatar,
|
||||
name,
|
||||
|
|
@ -138,6 +143,7 @@ class MentionOverlay extends ConsumerWidget {
|
|||
"",
|
||||
);
|
||||
},
|
||||
),
|
||||
);
|
||||
})
|
||||
.toList(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue