Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix alignment within gallery

vishnukvmd0e76d2bed2f6
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 05c1b05346..61c72d8784 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<LazyGroupGallery> {
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<LazyGroupGallery> {
timestamp: _files[0].creationTime!,
gridSize: widget.photoGridSize,
),
+ Expanded(child: Container()),
widget.limitSelectionToOne
? const SizedBox.shrink()
: ValueListenableBuilder(