Merge 281dda5b03 into eea4e431b4
This commit is contained in:
commit
0cd0520941
1 changed files with 4 additions and 1 deletions
|
|
@ -19,7 +19,9 @@ Future<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;
|
||||
|
||||
|
|
@ -37,6 +39,7 @@ Future<void> showMemberActionsPopupMenu({
|
|||
const defaultPowerLevels = {0, 50, 100, 9007199254740991};
|
||||
|
||||
final action = await showMenu<_MemberActions>(
|
||||
useRootNavigator: true,
|
||||
context: context,
|
||||
position: position,
|
||||
items: <PopupMenuEntry<_MemberActions>>[
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue