fix conditional rendering of popover actions
This commit is contained in:
parent
786c8cb3e2
commit
2ec442b35b
6 changed files with 7 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ extension ShowUserPopover on BuildContext {
|
|||
void showUserPopover(
|
||||
MembershipContent member,
|
||||
String userId, {
|
||||
String? roomId,
|
||||
required Offset globalPosition,
|
||||
}) => showContextMenu(
|
||||
globalPosition: globalPosition,
|
||||
|
|
@ -16,7 +17,7 @@ extension ShowUserPopover on BuildContext {
|
|||
padding: EdgeInsets.symmetric(horizontal: 16, vertical: 8),
|
||||
child: IconTheme(
|
||||
data: IconThemeData(),
|
||||
child: UserPopover(member, userId),
|
||||
child: UserPopover(member, userId, roomId: roomId),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue