Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix support email text

ashilkndcd59a0ee8a3
diff --git a/mobile/apps/locker/lib/ui/settings/support_section_widget.dart b/mobile/apps/locker/lib/ui/settings/support_section_widget.dart
index b9a4642e02..822788c957 100644
--- a/mobile/apps/locker/lib/ui/settings/support_section_widget.dart
+++ b/mobile/apps/locker/lib/ui/settings/support_section_widget.dart
@@ -69,7 +69,7 @@ class SupportSectionWidget extends StatelessWidget {
),
trailingIcon: Icons.chevron_right_outlined,
onTap: () async {
- await sendLogs(context, context.l10n.reportBug);
+ await sendLogs(context, "[email protected]");
},
onLongPress: () async {
final zipFilePath = await getZippedLogsFile();
diff --git a/mobile/packages/accounts/lib/pages/login_pwd_verification_page.dart b/mobile/packages/accounts/lib/pages/login_pwd_verification_page.dart
index 717464eb9f..97e285691b 100644
--- a/mobile/packages/accounts/lib/pages/login_pwd_verification_page.dart
+++ b/mobile/packages/accounts/lib/pages/login_pwd_verification_page.dart
@@ -109,7 +109,8 @@ class _LoginPasswordVerificationPageState
} on DioException catch (e, s) {
await dialog.hide();
final String? enteErrCode = e.response?.data["code"];
- if (enteErrCode != null && enteErrCode == 'LOCKER_REGISTRATION_DISABLED') {
+ if (enteErrCode != null &&
+ enteErrCode == 'LOCKER_REGISTRATION_DISABLED') {
await _showContactSupportDialog(
context,
context.strings.oops,
@@ -192,7 +193,7 @@ class _LoginPasswordVerificationPageState
if (dialogChoice!.action == ButtonAction.first) {
await sendLogs(
context,
- context.strings.contactSupport,
postShare: () {},
);
}
diff --git a/mobile/packages/accounts/lib/pages/password_reentry_page.dart b/mobile/packages/accounts/lib/pages/password_reentry_page.dart
index f684fc1379..4078cd1ffe 100644
--- a/mobile/packages/accounts/lib/pages/password_reentry_page.dart
+++ b/mobile/packages/accounts/lib/pages/password_reentry_page.dart
@@ -148,7 +148,7 @@ class _PasswordReentryPageState extends State<PasswordReentryPage> {
if (dialogChoice!.action == ButtonAction.first) {
await sendLogs(
context,
- context.strings.contactSupport,
postShare: () {},
);
}
diff --git a/mobile/packages/ui/lib/utils/dialog_util.dart b/mobile/packages/ui/lib/utils/dialog_util.dart
index 731a0dc8eb..bd68aca312 100644
--- a/mobile/packages/ui/lib/utils/dialog_util.dart
+++ b/mobile/packages/ui/lib/utils/dialog_util.dart
@@ -158,7 +158,7 @@ Future<ButtonResult?> showGenericErrorDialog({
onTap: () async {
await sendLogs(
context,
- context.strings.contactSupport,
postShare: () {},
);
},