Skip to content

armgit / ente

Public Imported from GitHub
0

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

chore

ashilknc8160c5ed497
diff --git a/mobile/apps/photos/lib/db/files_db.dart b/mobile/apps/photos/lib/db/files_db.dart
index ad13352578..fbf43be3b8 100644
--- a/mobile/apps/photos/lib/db/files_db.dart
+++ b/mobile/apps/photos/lib/db/files_db.dart
@@ -1694,7 +1694,6 @@ class FilesDB with SqlDbBase {
}
/// Returns only uploaded file IDs from given collections.
- /// Used for checking if hidden files exist in non-hidden collections.
/// If [ownerID] is provided, only returns files owned by that user.
Future<List<int>> getUploadedFileIDsInCollections(
Set<int> collectionIds, {
@@ -1913,8 +1912,7 @@ class FilesDB with SqlDbBase {
/// Returns hidden files that have local copies on the device.
/// Only returns files owned by [ownerID] from the specified
/// [hiddenCollectionIds].
- /// Results are deduplicated by uploadedFileID to avoid showing the same
- /// file multiple times if it exists in multiple hidden collections.
+ /// Results are deduplicated by uploadedFileID
Future<List<EnteFile>> getHiddenFilesWithLocalCopy(
Set<int> hiddenCollectionIds,
int ownerID,
@@ -1940,7 +1938,6 @@ class FilesDB with SqlDbBase {
}
/// Returns true if there are any hidden files with local copies on the device.
- /// More efficient than loading all files when only checking for existence.
Future<bool> hasHiddenFilesWithLocalCopy(
Set<int> hiddenCollectionIds,
int ownerID,