π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Update settings section UI (#10561)
Aman Rajd5e2593642e2
diff --git a/mobile/apps/photos/lib/l10n/intl_en.arb b/mobile/apps/photos/lib/l10n/intl_en.arbindex 760a8bf9c6..ef9c8cdd7d 100644--- a/mobile/apps/photos/lib/l10n/intl_en.arb+++ b/mobile/apps/photos/lib/l10n/intl_en.arb@@ -842,6 +842,7 @@"advanced": "Advanced","general": "General","security": "Security",+ "settings": "Settings","authToViewYourRecoveryKey": "Please authenticate to view your recovery key","twofactor": "Two-factor","authToConfigureTwofactorAuthentication": "Please authenticate to configure two-factor authentication",diff --git a/mobile/apps/photos/lib/ui/settings/backup/free_space_options.dart b/mobile/apps/photos/lib/ui/settings/backup/free_space_options.dartindex 247215a67d..aaeb53c31a 100644--- a/mobile/apps/photos/lib/ui/settings/backup/free_space_options.dart+++ b/mobile/apps/photos/lib/ui/settings/backup/free_space_options.dart@@ -5,7 +5,6 @@ import "package:ente_components/ente_components.dart";import "package:ente_pure_utils/ente_pure_utils.dart";import "package:flutter/foundation.dart" show kDebugMode;import "package:flutter/material.dart";-import "package:hugeicons/hugeicons.dart";import "package:photos/generated/l10n.dart";import "package:photos/models/duplicate_files.dart";import "package:photos/models/freeable_space_info.dart";@@ -124,11 +123,10 @@ class _FreeUpSpaceOptionsScreenState extends State<FreeUpSpaceOptionsScreen> {final colors = context.componentColors;return MenuComponent(title: title,- trailing: HugeIcon(- icon: HugeIcons.strokeRoundedArrowRight02,+ trailing: Icon(+ Icons.chevron_right_outlined,color: colors.textLight,- size: 18,- strokeWidth: 1.6,+ size: IconSizes.medium,),showOnlyLoadingState: true,onTap: onTap,diff --git a/mobile/apps/photos/lib/ui/settings_page.dart b/mobile/apps/photos/lib/ui/settings_page.dartindex d670d1d594..8254c10d91 100644--- a/mobile/apps/photos/lib/ui/settings_page.dart+++ b/mobile/apps/photos/lib/ui/settings_page.dart@@ -70,9 +70,10 @@ class _SettingsBody extends StatelessWidget {animation: emailNotifier,builder: (context, _) {final email = hasLoggedIn ? emailNotifier.value ?? "" : "";+ final title = email.isEmpty ? AppLocalizations.of(context).settings : email;return SettingsPageScaffold(- title: email,+ title: title,actions: _buildHeaderActions(context),onTitleDoubleTap: email.isEmpty? nulldiff --git a/mobile/apps/photos/scripts/internal_changes.txt b/mobile/apps/photos/scripts/internal_changes.txtindex 842a476b93..c0728c7d20 100644--- a/mobile/apps/photos/scripts/internal_changes.txt+++ b/mobile/apps/photos/scripts/internal_changes.txt@@ -1,4 +1,5 @@Latest changes:+- Aman: Update Setting section UI- Laurens: Generate and compress face thumbnails in rust- Laurens: More guards around Memory Lane for performance- Laurens + Rahul (contributor): Bulk ignore faces for file info sheet