diff --git a/lib/ui/viewer/gallery/component/group/lazy_group_gallery.dart b/lib/ui/viewer/gallery/component/group/lazy_group_gallery.dart index 05c1b0534..61c72d878 100644 --- a/lib/ui/viewer/gallery/component/group/lazy_group_gallery.dart +++ b/lib/ui/viewer/gallery/component/group/lazy_group_gallery.dart @@ -98,7 +98,6 @@ class _LazyGroupGalleryState extends State { bool _areAllFromGroupSelected() { if (widget.selectedFiles != null && widget.selectedFiles!.files.length >= widget.files.length) { - widget.selectedFiles!.files.containsAll(widget.files); return widget.selectedFiles!.files.containsAll(widget.files); } else { return false; @@ -193,6 +192,7 @@ class _LazyGroupGalleryState extends State { timestamp: _files[0].creationTime!, gridSize: widget.photoGridSize, ), + Expanded(child: Container()), widget.limitSelectionToOne ? const SizedBox.shrink() : ValueListenableBuilder(