chore: use root navigator for chat details dialogs (#5029)
This commit is contained in:
parent
83b993d0e1
commit
59fd42eb06
2 changed files with 0 additions and 2 deletions
|
|
@ -136,7 +136,6 @@ class ChatDetailsButtonRowState extends State<ChatDetailsButtonRow> {
|
|||
icon: const Icon(Icons.logout_outlined, size: 30.0),
|
||||
onPressed: () async {
|
||||
final confirmed = await showOkCancelAlertDialog(
|
||||
useRootNavigator: false,
|
||||
context: context,
|
||||
title: L10n.of(context).areYouSure,
|
||||
okLabel: L10n.of(context).leave,
|
||||
|
|
|
|||
|
|
@ -181,7 +181,6 @@ class SpaceDetailsContent extends StatelessWidget {
|
|||
icon: const Icon(Icons.logout_outlined, size: 30.0),
|
||||
onPressed: () async {
|
||||
final confirmed = await showOkCancelAlertDialog(
|
||||
useRootNavigator: false,
|
||||
context: context,
|
||||
title: L10n.of(context).areYouSure,
|
||||
okLabel: L10n.of(context).leave,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue