From e20628f116bd602beec13f3b97ea5f26f145532f Mon Sep 17 00:00:00 2001 From: ggurdin <46800240+ggurdin@users.noreply.github.com> Date: Fri, 28 Feb 2025 15:43:35 -0500 Subject: [PATCH] chore: update copy in delete account dialog (#2015) --- assets/l10n/intl_en.arb | 3 ++- lib/pages/chat_list/chat_list.dart | 1 - lib/pages/settings_security/settings_security.dart | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/assets/l10n/intl_en.arb b/assets/l10n/intl_en.arb index 8fc7cfa70..47860de0c 100644 --- a/assets/l10n/intl_en.arb +++ b/assets/l10n/intl_en.arb @@ -4829,5 +4829,6 @@ "ttsDisabledBody": "You can enable text-to-speech in your learning settings", "noSpaceDescriptionYet": "No space description created yet.", "tooLargeToSend": "This message is too large to send", - "leaveRoomDescription": "You're about to leave this chat. Other users will see that you have left the chat." + "leaveRoomDescription": "You're about to leave this chat. Other users will see that you have left the chat.", + "confirmUserId": "Please confirm your Pangea Chat username in order to delete your account." } \ No newline at end of file diff --git a/lib/pages/chat_list/chat_list.dart b/lib/pages/chat_list/chat_list.dart index a94445e9e..3d40de448 100644 --- a/lib/pages/chat_list/chat_list.dart +++ b/lib/pages/chat_list/chat_list.dart @@ -43,7 +43,6 @@ import '../../widgets/matrix.dart'; import 'package:fluffychat/utils/tor_stub.dart' if (dart.library.html) 'package:tor_detector_web/tor_detector_web.dart'; - enum PopupMenuAction { settings, invite, diff --git a/lib/pages/settings_security/settings_security.dart b/lib/pages/settings_security/settings_security.dart index f7fa7871a..ba03ebc06 100644 --- a/lib/pages/settings_security/settings_security.dart +++ b/lib/pages/settings_security/settings_security.dart @@ -87,7 +87,10 @@ class SettingsSecurityController extends State { final mxid = await showTextInputDialog( useRootNavigator: false, context: context, - title: L10n.of(context).confirmMatrixId, + // #Pangea + // title: L10n.of(context).confirmMatrixId, + title: L10n.of(context).confirmUserId, + // Pangea# validator: (text) => text == supposedMxid ? null : L10n.of(context).supposedMxid(supposedMxid),