Skip to content

armgit / ente

Public Imported from GitHub
0

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

refactor: wrap titles in DeveloperSettingsTapArea for email and login pages

AmanRajSinghMourya747ca2770f67
diff --git a/mobile/apps/photos/lib/ui/account/email_entry_page.dart b/mobile/apps/photos/lib/ui/account/email_entry_page.dart
index 0ef45ac8a6..6207c77368 100644
--- a/mobile/apps/photos/lib/ui/account/email_entry_page.dart
+++ b/mobile/apps/photos/lib/ui/account/email_entry_page.dart
@@ -98,9 +98,12 @@ class _EmailEntryPageState extends State<EmailEntryPage> {
Navigator.of(context).pop();
},
),
- title: Text(
- AppLocalizations.of(context).createAccountTitle,
- style: textTheme.largeBold,
+ title: DeveloperSettingsTapArea(
+ behavior: HitTestBehavior.translucent,
+ child: Text(
+ AppLocalizations.of(context).createAccountTitle,
+ style: textTheme.largeBold,
+ ),
),
centerTitle: true,
),
diff --git a/mobile/apps/photos/lib/ui/account/login_page.dart b/mobile/apps/photos/lib/ui/account/login_page.dart
index f497a87ceb..ccdac41b61 100644
--- a/mobile/apps/photos/lib/ui/account/login_page.dart
+++ b/mobile/apps/photos/lib/ui/account/login_page.dart
@@ -78,9 +78,12 @@ class _LoginPageState extends State<LoginPage> {
Navigator.of(context).pop();
},
),
- title: Text(
- AppLocalizations.of(context).loginToEnte,
- style: textTheme.largeBold,
+ title: DeveloperSettingsTapArea(
+ behavior: HitTestBehavior.translucent,
+ child: Text(
+ AppLocalizations.of(context).loginToEnte,
+ style: textTheme.largeBold,
+ ),
),
centerTitle: true,
),