π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Update bottom padding in device folder grid and flex grid views to improve layout
AmanRajSinghMourya0d181acf1649
diff --git a/mobile/apps/photos/lib/ui/collections/device/device_folders_vertical_grid_view.dart b/mobile/apps/photos/lib/ui/collections/device/device_folders_vertical_grid_view.dartindex eda48c52fb..3df555ed20 100644--- a/mobile/apps/photos/lib/ui/collections/device/device_folders_vertical_grid_view.dart+++ b/mobile/apps/photos/lib/ui/collections/device/device_folders_vertical_grid_view.dart@@ -202,6 +202,7 @@ class _DeviceFolderVerticalGridViewBodyStatepadding: const EdgeInsets.only(left: horizontalPadding / 2,right: horizontalPadding / 2,+ bottom: 200,),sliver: SliverGrid(gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(@@ -230,6 +231,7 @@ class _DeviceFolderVerticalGridViewBodyStatetop: 8,left: 8,right: 8,+ bottom: 200,),sliver: SliverList.builder(itemBuilder: (context, index) {diff --git a/mobile/apps/photos/lib/ui/collections/flex_grid_view.dart b/mobile/apps/photos/lib/ui/collections/flex_grid_view.dartindex b02094cd69..9f0f384000 100644--- a/mobile/apps/photos/lib/ui/collections/flex_grid_view.dart+++ b/mobile/apps/photos/lib/ui/collections/flex_grid_view.dart@@ -38,7 +38,6 @@ class CollectionsFlexiGridViewWidget extends StatefulWidget {final bool enableSelectionMode;final bool shouldShowCreateAlbum;final SelectedAlbums? selectedAlbums;- final double scrollBottomSafeArea;final bool onlyAllowSelection;final UISectionType? sectionType;@@ -51,7 +50,6 @@ class CollectionsFlexiGridViewWidget extends StatefulWidget {this.albumViewType = AlbumViewType.grid,this.shouldShowCreateAlbum = false,this.selectedAlbums,- this.scrollBottomSafeArea = 8,this.onlyAllowSelection = false,this.sectionType,});@@ -146,18 +144,17 @@ class _CollectionsFlexiGridViewWidgetStatetotalCrossAxisSpacing -CollectionsFlexiGridViewWidget.horizontalPadding) /albumsCountInCrossAxis;-final int totalCollections = widget.collections!.length;final bool showCreateAlbum = widget.shouldShowCreateAlbum;final int displayItemCount = totalCollections + (showCreateAlbum ? 1 : 0);return SliverPadding(key: key,- padding: EdgeInsets.only(+ padding: const EdgeInsets.only(top: 8,left: CollectionsFlexiGridViewWidget.horizontalPadding / 2,right: CollectionsFlexiGridViewWidget.horizontalPadding / 2,- bottom: widget.scrollBottomSafeArea,+ bottom: 200,),sliver: SliverGrid(delegate: SliverChildBuilderDelegate(@@ -214,11 +211,11 @@ class _CollectionsFlexiGridViewWidgetStatereturn SliverPadding(key: key,- padding: EdgeInsets.only(+ padding: const EdgeInsets.only(top: 8,left: 8,right: 8,- bottom: widget.scrollBottomSafeArea,+ bottom: 200,),sliver: SliverPrototypeExtentList(prototypeItem: Padding(