fix: App crash on page navigation with open popup menu
This commit is contained in:
parent
3078e9788f
commit
49780b01fe
8 changed files with 10 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ class ChatSettingsPopupMenuState extends State<ChatSettingsPopupMenu> {
|
|||
children: [
|
||||
const SizedBox.shrink(),
|
||||
PopupMenuButton<ChatPopupMenuActions>(
|
||||
useRootNavigator: true,
|
||||
onSelected: (choice) async {
|
||||
switch (choice) {
|
||||
case ChatPopupMenuActions.leave:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue