Skip to content

armgit / ente

Public Imported from GitHub
0

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

Silently ignore fav collection being selected

AmanRajSinghMouryab0bcd032cd58
diff --git a/mobile/apps/locker/lib/ui/pages/file_upload_screen.dart b/mobile/apps/locker/lib/ui/pages/file_upload_screen.dart
index ca9cc21a28..3d1e64cc89 100644
--- a/mobile/apps/locker/lib/ui/pages/file_upload_screen.dart
+++ b/mobile/apps/locker/lib/ui/pages/file_upload_screen.dart
@@ -40,7 +40,9 @@ class _FileUploadScreenState extends State<FileUploadScreen> {
super.initState();
_files = List.from(widget.files);
- if (widget.selectedCollection != null) {
+ if (widget.selectedCollection != null &&
+ widget.selectedCollection!.type != CollectionType.uncategorized &&
+ widget.selectedCollection!.type != CollectionType.favorites) {
_selectedCollections.add(widget.selectedCollection!);
}
}