|
|
|
|
@ -19,7 +19,9 @@ void showMemberActionsPopupMenu({
|
|
|
|
|
final displayname = user.calcDisplayname();
|
|
|
|
|
final isMe = user.room.client.userID == user.id;
|
|
|
|
|
|
|
|
|
|
final overlay = Overlay.of(context).context.findRenderObject() as RenderBox;
|
|
|
|
|
final overlay = Overlay.of(context, rootOverlay: true)
|
|
|
|
|
.context
|
|
|
|
|
.findRenderObject() as RenderBox;
|
|
|
|
|
|
|
|
|
|
final button = context.findRenderObject() as RenderBox;
|
|
|
|
|
|
|
|
|
|
@ -35,6 +37,7 @@ void showMemberActionsPopupMenu({
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
final action = await showMenu<_MemberActions>(
|
|
|
|
|
useRootNavigator: true,
|
|
|
|
|
context: context,
|
|
|
|
|
position: position,
|
|
|
|
|
items: <PopupMenuEntry<_MemberActions>>[
|
|
|
|
|
|