Skip to content

armgit / ente

Public Imported from GitHub
0

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

minor fix

AmanRajSinghMourya28a97e3e08c6
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 e5d553305e..0aa082eb94 100644
--- a/mobile/apps/photos/lib/ui/account/email_entry_page.dart
+++ b/mobile/apps/photos/lib/ui/account/email_entry_page.dart
@@ -129,10 +129,7 @@ class _EmailEntryPageState extends State<EmailEntryPage> {
if (_passwordStrength > kStrongPasswordStrengthThreshold) {
passwordMessage = AppLocalizations.of(context).strongPassword;
passwordMessageType = TextInputMessageType.success;
- } else if (_passwordStrength > kMildPasswordStrengthThreshold) {
- passwordMessage = AppLocalizations.of(context).moderateStrength;
- passwordMessageType = TextInputMessageType.alert;
- } else {
+ } else if (_passwordStrength <= kMildPasswordStrengthThreshold) {
passwordMessage = AppLocalizations.of(context).weakStrength;
passwordMessageType = TextInputMessageType.alert;
}
diff --git a/mobile/apps/photos/lib/ui/components/banners/ml_progress_banner.dart b/mobile/apps/photos/lib/ui/components/banners/ml_progress_banner.dart
index 43fd9bba32..d3dca6843b 100644
--- a/mobile/apps/photos/lib/ui/components/banners/ml_progress_banner.dart
+++ b/mobile/apps/photos/lib/ui/components/banners/ml_progress_banner.dart
@@ -182,7 +182,7 @@ class _MLProgressBannerState extends State<MLProgressBanner> {
),
],
),
- const SizedBox(height: 4),
+ const SizedBox(height: 8),
Text(
l10n.mlProgressBannerDescription,
style: textTheme.miniMuted.copyWith(
@@ -190,7 +190,7 @@ class _MLProgressBannerState extends State<MLProgressBanner> {
fontWeight: FontWeight.w600,
),
),
- const SizedBox(height: 8),
+ const SizedBox(height: 24),
ClipRRect(
borderRadius: BorderRadius.circular(2.5),
child: LinearProgressIndicator(
@@ -202,7 +202,7 @@ class _MLProgressBannerState extends State<MLProgressBanner> {
),
),
),
- const SizedBox(height: 6),
+ const SizedBox(height: 8),
Align(
alignment: Alignment.centerRight,
child: Text(