From 270d3802ac1f1dfd0c6d97bc68329d7870137cce Mon Sep 17 00:00:00 2001 From: Kelrap Date: Wed, 29 May 2024 14:18:35 -0400 Subject: [PATCH] Update popup descriptions --- lib/pages/chat_details/chat_details_view.dart | 3 +-- lib/widgets/chat_settings_popup_menu.dart | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/pages/chat_details/chat_details_view.dart b/lib/pages/chat_details/chat_details_view.dart index 037626993..36b136caa 100644 --- a/lib/pages/chat_details/chat_details_view.dart +++ b/lib/pages/chat_details/chat_details_view.dart @@ -595,8 +595,7 @@ class ChatDetailsView extends StatelessWidget { title: L10n.of(context)!.areYouSure, okLabel: L10n.of(context)!.ok, cancelLabel: L10n.of(context)!.cancel, - message: L10n.of(context)! - .archiveRoomDescription, // Edit + message: L10n.of(context)!.leaveRoomDescription, ); if (confirmed == OkCancelResult.ok) { final success = await showFutureLoadingDialog( diff --git a/lib/widgets/chat_settings_popup_menu.dart b/lib/widgets/chat_settings_popup_menu.dart index f93173e6d..970879918 100644 --- a/lib/widgets/chat_settings_popup_menu.dart +++ b/lib/widgets/chat_settings_popup_menu.dart @@ -186,8 +186,7 @@ class ChatSettingsPopupMenuState extends State { title: L10n.of(context)!.areYouSure, okLabel: L10n.of(context)!.ok, cancelLabel: L10n.of(context)!.cancel, - message: L10n.of(context)! - .archiveRoomDescription, // Edit - contents + message: L10n.of(context)!.archiveRoomDescription, ); if (confirmed == OkCancelResult.ok) { final success = await showFutureLoadingDialog( @@ -208,8 +207,7 @@ class ChatSettingsPopupMenuState extends State { title: L10n.of(context)!.areYouSure, okLabel: L10n.of(context)!.ok, cancelLabel: L10n.of(context)!.cancel, - message: L10n.of(context)! - .archiveRoomDescription, // Edit - leave, not archive + message: L10n.of(context)!.leaveRoomDescription, ); if (confirmed == OkCancelResult.ok) { final success = await showFutureLoadingDialog(