Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fixed typo

Neeraj Gupta780d553c0aad
diff --git a/lib/services/collections_service.dart b/lib/services/collections_service.dart
index 108446c2a7..a7c51d8fca 100644
--- a/lib/services/collections_service.dart
+++ b/lib/services/collections_service.dart
@@ -1201,7 +1201,7 @@ class CollectionsService {
}
// as any non uploaded file
final pendingUpload = files.any(
- (element) => element.uploadedFileID != null,
+ (element) => element.uploadedFileID == null,
);
if (pendingUpload) {
throw ArgumentError('Can only add uploaded files silently');