Stick to old grouping behaviour for magicsearch

This commit is contained in:
Neeraj Gupta 2024-05-27 18:07:07 +05:30
parent ac3c6b10a5
commit f5093ddf63

View file

@ -290,6 +290,12 @@ class GalleryState extends State<Gallery> {
}
});
}
// todo:(neeraj) Stick to default group behaviour for magicSearch and editLocationGallery
// In case of Magic search, we need to hide the scrollbar title (can be done
// by specifying none as groupType)
if (widget.groupType != GroupType.size) {
return [files];
}
final List<List<EnteFile>> resultGroupedFiles = [];
List<EnteFile> singleGroupFile = [];