π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob] Fix email verification toggle showing incorrect state after logout/login
AmanRajSinghMourya741f7f53e5f0
diff --git a/mobile/apps/photos/lib/services/account/user_service.dart b/mobile/apps/photos/lib/services/account/user_service.dartindex fb2ad632ef..c3d587391b 100644--- a/mobile/apps/photos/lib/services/account/user_service.dart+++ b/mobile/apps/photos/lib/services/account/user_service.dart@@ -1326,7 +1326,7 @@ class UserService {if (profile != null && profile.profileData != null) {return profile.profileData!.isEmailMFAEnabled;}- return true;+ return false;}Future<void> updateEmailMFA(bool isEnabled) async {diff --git a/mobile/packages/accounts/lib/services/user_service.dart b/mobile/packages/accounts/lib/services/user_service.dartindex 078ec51168..92b7f47650 100644--- a/mobile/packages/accounts/lib/services/user_service.dart+++ b/mobile/packages/accounts/lib/services/user_service.dart@@ -1139,7 +1139,7 @@ class UserService {}bool hasEmailMFAEnabled() {- return _preferences.getBool(kIsEmailMFAEnabled) ?? true;+ return _preferences.getBool(kIsEmailMFAEnabled) ?? false;}Future<void> updateEmailMFA(bool isEnabled) async {