Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix Flex layout comment lint

ashil-pilot5b0f0880ffd5
diff --git a/mobile/apps/photos/lib/models/gallery/flex_layout.dart b/mobile/apps/photos/lib/models/gallery/flex_layout.dart
index 8cc5432e2c..f0eeff71e5 100644
--- a/mobile/apps/photos/lib/models/gallery/flex_layout.dart
+++ b/mobile/apps/photos/lib/models/gallery/flex_layout.dart
@@ -4,12 +4,12 @@ import "dart:typed_data";
import "package:photos/models/gallery/justified_layout.dart";
-/// Experimental whole-group row breaking inspired by Google Photos' FlexLayout:
-/// https://medium.com/google-design/google-photos-45b714dfbed1
-///
-/// Each possible row is an edge between two file indices. A backward dynamic
-/// programming pass chooses the least expensive path through the entire group.
-/// Density is a sizing preference rather than Comfort's hard 3/4/5 item cap.
+// Experimental whole-group row breaking inspired by Google Photos' FlexLayout:
+// https://medium.com/google-design/google-photos-45b714dfbed1
+//
+// Each possible row is an edge between two file indices. A backward dynamic
+// programming pass chooses the least expensive path through the entire group.
+// Density is a sizing preference rather than Comfort's hard 3/4/5 item cap.
class FlexLayoutCalculator {
static const double _minimumTappableExtent = 48;
static const double _maximumRowHeightFactor = 1.6;