Skip to content

armgit / ente

Public Imported from GitHub
0

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

Add padding to feed screen and feed preview widget

ashilkn1fda66c37ee7
diff --git a/mobile/apps/photos/lib/ui/social/feed_screen.dart b/mobile/apps/photos/lib/ui/social/feed_screen.dart
index 992a4256a2..d5ffe970e3 100644
--- a/mobile/apps/photos/lib/ui/social/feed_screen.dart
+++ b/mobile/apps/photos/lib/ui/social/feed_screen.dart
@@ -133,7 +133,11 @@ class _FeedScreenState extends State<FeedScreen> {
: RefreshIndicator(
onRefresh: _onRefresh,
child: ListView.builder(
- padding: const EdgeInsets.symmetric(horizontal: 15),
+ padding: EdgeInsets.only(
+ left: 15,
+ right: 15,
+ bottom: MediaQuery.paddingOf(context).bottom,
+ ),
itemCount: _feedItems.length,
itemBuilder: (context, index) {
final item = _feedItems[index];
diff --git a/mobile/apps/photos/lib/ui/social/widgets/feed_preview_widget.dart b/mobile/apps/photos/lib/ui/social/widgets/feed_preview_widget.dart
index 3442291687..d32ebaa31b 100644
--- a/mobile/apps/photos/lib/ui/social/widgets/feed_preview_widget.dart
+++ b/mobile/apps/photos/lib/ui/social/widgets/feed_preview_widget.dart
@@ -104,7 +104,7 @@ class _FeedPreviewWidgetState extends State<FeedPreviewWidget> {
final colorScheme = getEnteColorScheme(context);
return Padding(
- padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
+ padding: const EdgeInsets.only(left: 16, right: 16, top: 16, bottom: 8),
child: Container(
decoration: BoxDecoration(
color: colorScheme.backgroundElevated2,