chore: Add descriptions in the areYouSure dialogs for better UX

This commit is contained in:
krille-chan 2023-10-28 10:54:41 +02:00
commit 67a4bc71ab
No known key found for this signature in database
7 changed files with 52 additions and 22 deletions

View file

@ -471,6 +471,7 @@ class ChatListController extends State<ChatList>
title: L10n.of(context)!.areYouSure,
okLabel: L10n.of(context)!.yes,
cancelLabel: L10n.of(context)!.cancel,
message: L10n.of(context)!.archiveRoomDescription,
) ==
OkCancelResult.ok;
if (!confirmed) return;

View file

@ -132,6 +132,7 @@ class ChatListItem extends StatelessWidget {
title: L10n.of(context)!.areYouSure,
okLabel: L10n.of(context)!.yes,
cancelLabel: L10n.of(context)!.no,
message: L10n.of(context)!.archiveRoomDescription,
);
if (confirmed == OkCancelResult.cancel) return;
await showFutureLoadingDialog(