Update popup descriptions

This commit is contained in:
Kelrap 2024-05-29 14:18:35 -04:00
parent 1bce016140
commit 270d3802ac
2 changed files with 3 additions and 6 deletions

View file

@ -595,8 +595,7 @@ class ChatDetailsView extends StatelessWidget {
title: L10n.of(context)!.areYouSure, title: L10n.of(context)!.areYouSure,
okLabel: L10n.of(context)!.ok, okLabel: L10n.of(context)!.ok,
cancelLabel: L10n.of(context)!.cancel, cancelLabel: L10n.of(context)!.cancel,
message: L10n.of(context)! message: L10n.of(context)!.leaveRoomDescription,
.archiveRoomDescription, // Edit
); );
if (confirmed == OkCancelResult.ok) { if (confirmed == OkCancelResult.ok) {
final success = await showFutureLoadingDialog( final success = await showFutureLoadingDialog(

View file

@ -186,8 +186,7 @@ class ChatSettingsPopupMenuState extends State<ChatSettingsPopupMenu> {
title: L10n.of(context)!.areYouSure, title: L10n.of(context)!.areYouSure,
okLabel: L10n.of(context)!.ok, okLabel: L10n.of(context)!.ok,
cancelLabel: L10n.of(context)!.cancel, cancelLabel: L10n.of(context)!.cancel,
message: L10n.of(context)! message: L10n.of(context)!.archiveRoomDescription,
.archiveRoomDescription, // Edit - contents
); );
if (confirmed == OkCancelResult.ok) { if (confirmed == OkCancelResult.ok) {
final success = await showFutureLoadingDialog( final success = await showFutureLoadingDialog(
@ -208,8 +207,7 @@ class ChatSettingsPopupMenuState extends State<ChatSettingsPopupMenu> {
title: L10n.of(context)!.areYouSure, title: L10n.of(context)!.areYouSure,
okLabel: L10n.of(context)!.ok, okLabel: L10n.of(context)!.ok,
cancelLabel: L10n.of(context)!.cancel, cancelLabel: L10n.of(context)!.cancel,
message: L10n.of(context)! message: L10n.of(context)!.leaveRoomDescription,
.archiveRoomDescription, // Edit - leave, not archive
); );
if (confirmed == OkCancelResult.ok) { if (confirmed == OkCancelResult.ok) {
final success = await showFutureLoadingDialog( final success = await showFutureLoadingDialog(