Skip to content

armgit / ente

Public Imported from GitHub
0

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

Add warning about cross-app account deletion impact

Anand Baburajanb18c81551395
diff --git a/mobile/apps/photos/lib/l10n/intl_en.arb b/mobile/apps/photos/lib/l10n/intl_en.arb
index 6c94cfef3f..fcaa1b04be 100644
--- a/mobile/apps/photos/lib/l10n/intl_en.arb
+++ b/mobile/apps/photos/lib/l10n/intl_en.arb
@@ -11,6 +11,7 @@
"invalidEmailAddress": "Invalid email address",
"enterValidEmail": "Please enter a valid email address.",
"deleteAccount": "Delete account",
+ "deleteAccountWarning": "This will delete your Ente Auth, Ente Photos and Ente Locker account.",
"askDeleteReason": "What is the main reason you are deleting your account?",
"deleteAccountFeedbackPrompt": "We are sorry to see you go. Please share your feedback to help us improve.",
"feedback": "Feedback",
diff --git a/mobile/apps/photos/lib/ui/account/delete_account_page.dart b/mobile/apps/photos/lib/ui/account/delete_account_page.dart
index 8617f21f87..6c07c60974 100644
--- a/mobile/apps/photos/lib/ui/account/delete_account_page.dart
+++ b/mobile/apps/photos/lib/ui/account/delete_account_page.dart
@@ -63,6 +63,17 @@ class _DeleteAccountPageState extends State<DeleteAccountPage> {
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisSize: MainAxisSize.max,
children: [
+ const SizedBox(height: 24),
+ Padding(
+ padding: const EdgeInsets.symmetric(horizontal: 8),
+ child: Text(
+ AppLocalizations.of(context).deleteAccountWarning,
+ style: getEnteTextTheme(context).body.copyWith(
+ color: colorScheme.warning700,
+ fontWeight: FontWeight.w800,
+ ),
+ ),
+ ),
const SizedBox(height: 24),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 8),