π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
update padding and spacing
AmanRajSinghMouryaa7293528620f
diff --git a/mobile/apps/photos/lib/ui/collections/flex_grid_view.dart b/mobile/apps/photos/lib/ui/collections/flex_grid_view.dartindex dc8cee5581..6e5ed11f5a 100644--- a/mobile/apps/photos/lib/ui/collections/flex_grid_view.dart+++ b/mobile/apps/photos/lib/ui/collections/flex_grid_view.dart@@ -32,7 +32,7 @@ class CollectionsFlexiGridViewWidget extends StatefulWidget {static const maxThumbnailWidth = 224.0;static const crossAxisSpacing = 8.0;static const horizontalPadding = 16.0;- static const gridItemTextHeight = 42.0;+ static const gridItemTextHeight = 48.0;final List<Collection>? collections;// If true, the GridView will shrink-wrap its contents.@@ -45,6 +45,8 @@ class CollectionsFlexiGridViewWidget extends StatefulWidget {final SelectedAlbums? selectedAlbums;final bool onlyAllowSelection;final UISectionType? sectionType;+ final double topPadding;+ final double bottomPadding;const CollectionsFlexiGridViewWidget(this.collections, {@@ -57,6 +59,8 @@ class CollectionsFlexiGridViewWidget extends StatefulWidget {this.selectedAlbums,this.onlyAllowSelection = false,this.sectionType,+ this.topPadding = 16,+ this.bottomPadding = 200,});@override@@ -201,11 +205,11 @@ class _CollectionsFlexiGridViewWidgetStatereturn SliverPadding(key: key,- padding: const EdgeInsets.only(- top: 16,+ padding: EdgeInsets.only(+ top: widget.topPadding,left: CollectionsFlexiGridViewWidget.horizontalPadding / 2,right: CollectionsFlexiGridViewWidget.horizontalPadding / 2,- bottom: 200,+ bottom: widget.bottomPadding,),sliver: SliverGrid(delegate: SliverChildBuilderDelegate(@@ -265,11 +269,11 @@ class _CollectionsFlexiGridViewWidgetStatereturn SliverPadding(key: key,- padding: const EdgeInsets.only(- top: 16,+ padding: EdgeInsets.only(+ top: widget.topPadding,left: 8,right: 8,- bottom: 200,+ bottom: widget.bottomPadding,),sliver: SliverPrototypeExtentList(prototypeItem: Padding(