Stick to old grouping behaviour for magicsearch
This commit is contained in:
parent
ac3c6b10a5
commit
f5093ddf63
1 changed files with 6 additions and 0 deletions
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in a new issue