Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] fix case-insensitive album search in add/move to album

Prateek Sunal38fbbff70a9a
diff --git a/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart b/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart
index 0f23fa1c8a..118bff7039 100644
--- a/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart
+++ b/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart
@@ -347,7 +347,7 @@ class _CollectionActionSheetState extends State<CollectionActionSheet> {
.where(
(element) => element.displayName
.toLowerCase()
- .contains(_searchQuery),
+ .contains(_searchQuery.toLowerCase()),
)
.toList()
: collections;