π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Clear cached favorite IDs and hashes in clearCache method
AmanRajSinghMouryac11b6cf37312
diff --git a/mobile/apps/photos/lib/services/favorites_service.dart b/mobile/apps/photos/lib/services/favorites_service.dartindex 9a8fbf8b3e..e8ea941509 100644--- a/mobile/apps/photos/lib/services/favorites_service.dart+++ b/mobile/apps/photos/lib/services/favorites_service.dart@@ -82,6 +82,9 @@ class FavoritesService {void clearCache() {_cachedFavoritesCollectionID = null;+ _cachedFavUploadedIDs.clear();+ _cachedFavFileHases.clear();+ _cachedPendingLocalIDs.clear();}bool isFavoriteCache(EnteFile file, {bool checkOnlyAlbum = false}) {