chore: Design follow up
This commit is contained in:
parent
8f5dbc75c9
commit
1c1c24c98b
5 changed files with 19 additions and 14 deletions
|
|
@ -56,12 +56,11 @@ class ChatSettingsPopupMenuState extends State<ChatSettingsPopupMenu> {
|
|||
switch (choice) {
|
||||
case ChatPopupMenuActions.leave:
|
||||
final confirmed = await showOkCancelAlertDialog(
|
||||
useRootNavigator: false,
|
||||
context: context,
|
||||
title: L10n.of(context).areYouSure,
|
||||
okLabel: L10n.of(context).ok,
|
||||
cancelLabel: L10n.of(context).cancel,
|
||||
message: L10n.of(context).archiveRoomDescription,
|
||||
okLabel: L10n.of(context).leave,
|
||||
cancelLabel: L10n.of(context).cancel,
|
||||
isDestructive: true,
|
||||
);
|
||||
if (confirmed == OkCancelResult.ok) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue