fix: Widgets dialog crashes

This commit is contained in:
Krille Fear 2022-04-03 12:59:08 +02:00
parent e6ab88a0a4
commit 01be040163
3 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,7 @@ class CupertinoWidgetsBottomSheet extends StatelessWidget {
showCupertinoDialog( showCupertinoDialog(
context: context, context: context,
builder: (context) => EditWidgetsDialog(room: room), builder: (context) => EditWidgetsDialog(room: room),
useRootNavigator: false,
); );
}, },
), ),

View File

@ -25,6 +25,7 @@ class WidgetsBottomSheet extends StatelessWidget {
showDialog( showDialog(
context: context, context: context,
builder: (context) => EditWidgetsDialog(room: room), builder: (context) => EditWidgetsDialog(room: room),
useRootNavigator: false,
); );
}, },
); );

View File

@ -135,6 +135,7 @@ class _ChatSettingsPopupMenuState extends State<ChatSettingsPopupMenu> {
showDialog( showDialog(
context: context, context: context,
builder: (context) => EditWidgetsDialog(room: widget.room), builder: (context) => EditWidgetsDialog(room: widget.room),
useRootNavigator: false,
); );
} }
break; break;