π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix latest feed preview item selection
ashilkn3a0241862a62
diff --git a/mobile/apps/photos/lib/models/social/feed_data_provider.dart b/mobile/apps/photos/lib/models/social/feed_data_provider.dartindex 2f90c7b1ae..ce8984df00 100644--- a/mobile/apps/photos/lib/models/social/feed_data_provider.dart+++ b/mobile/apps/photos/lib/models/social/feed_data_provider.dart@@ -192,7 +192,6 @@ class FeedDataProvider {Future<FeedItem?> getLatestFeedItem() async {final items = await getFeedItems(limit: 1,- includeSharedPhotos: false,verifyFileExistence: false,);return items.isNotEmpty ? items.first : null;diff --git a/mobile/apps/photos/lib/services/account/user_service.dart b/mobile/apps/photos/lib/services/account/user_service.dartindex d2769c3f10..3c465cfa14 100644--- a/mobile/apps/photos/lib/services/account/user_service.dart+++ b/mobile/apps/photos/lib/services/account/user_service.dart@@ -211,14 +211,12 @@ class UserService {kIsEmailMFAEnabled,currentEmailMFAStatus,);- hasSecurityStatusChanged =- hasSecurityStatusChanged ||+ hasSecurityStatusChanged = hasSecurityStatusChanged ||previousEmailMFAStatus != currentEmailMFAStatus;final bool currentTwoFactorStatus =userDetails.profileData!.isTwoFactorEnabled;await setTwoFactor(value: currentTwoFactorStatus);- hasSecurityStatusChanged =- hasSecurityStatusChanged ||+ hasSecurityStatusChanged = hasSecurityStatusChanged ||previousTwoFactorStatus != currentTwoFactorStatus;}if (hasSecurityStatusChanged) {