Skip to content

armgit / ente

Public Imported from GitHub
0

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

Merge remote-tracking branch 'upstream/main' into codex/mobile-gallery-spacing-1px

ashil-pilotf41e7ba54db6
diff --cc mobile/apps/photos/lib/models/gallery/gallery_groups.dart
index dbd48e7831,0a5e4fb6d8..1bb8115bb2
--- a/mobile/apps/photos/lib/models/gallery/gallery_groups.dart
+++ b/mobile/apps/photos/lib/models/gallery/gallery_groups.dart
@@@ -61,6 -64,11 +65,10 @@@ class GalleryGroups
}
}
- static const double spacing = 2.0;
+ // Product decision: limit how tall the preferred justified row can grow as
+ // the gallery widens.
+ static const double _maximumJustifiedTargetRowHeight = 320.0;
+
late final int crossAxisCount;
late final GalleryLayoutType layoutType;
late final List<SectionLayout> _groupLayouts;