chore: Design follow up

This commit is contained in:
krille-chan 2025-02-04 21:56:21 +01:00
commit 1c1c24c98b
No known key found for this signature in database
5 changed files with 19 additions and 14 deletions

View file

@ -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) {