π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix spacing issue
ashilkn0d55ae1a6ded
diff --git a/mobile/lib/models/gallery/gallery_sections.dart b/mobile/lib/models/gallery/gallery_sections.dartindex 7897b4a487..7ba1212075 100644--- a/mobile/lib/models/gallery/gallery_sections.dart+++ b/mobile/lib/models/gallery/gallery_sections.dart@@ -60,12 +60,12 @@ class GalleryGroups {List<FixedExtentSectionLayout> getGroupLayouts() {int currentIndex = 0;double currentOffset = 0.0;- final tileHeight = widthAvailable / crossAxisCount;+ final tileHeight =+ (widthAvailable - (crossAxisCount - 1) * spacing) / crossAxisCount;final groupLayouts = <FixedExtentSectionLayout>[];final groupIDs = _groupIdToFilesMap.keys;- // TODO: spacingfor (final groupID in groupIDs) {final filesInGroup = _groupIdToFilesMap[groupID]!;final numberOfGridRows = (filesInGroup.length / crossAxisCount).ceil();