From 1971f8984cd333bd32e1151ec7c0030d7d45dd31 Mon Sep 17 00:00:00 2001 From: sunil9211 Date: Wed, 16 Feb 2022 19:25:53 +0530 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/23551 - Change the spacing between Pocket header and content to 16dp --- .../mozilla/fenix/home/pocket/PocketCategoriesViewHolder.kt | 2 +- .../org/mozilla/fenix/home/pocket/PocketStoriesViewHolder.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/home/pocket/PocketCategoriesViewHolder.kt b/app/src/main/java/org/mozilla/fenix/home/pocket/PocketCategoriesViewHolder.kt index 4fef8f2fc8..327114d4c6 100644 --- a/app/src/main/java/org/mozilla/fenix/home/pocket/PocketCategoriesViewHolder.kt +++ b/app/src/main/java/org/mozilla/fenix/home/pocket/PocketCategoriesViewHolder.kt @@ -84,7 +84,7 @@ private fun PocketTopics( .wrapContentHeight(align = Alignment.Top) ) - Spacer(Modifier.height(17.dp)) + Spacer(Modifier.height(16.dp)) PocketStoriesCategories( categories = categories, diff --git a/app/src/main/java/org/mozilla/fenix/home/pocket/PocketStoriesViewHolder.kt b/app/src/main/java/org/mozilla/fenix/home/pocket/PocketStoriesViewHolder.kt index d4d7a72a3f..9c8e02ae2d 100644 --- a/app/src/main/java/org/mozilla/fenix/home/pocket/PocketStoriesViewHolder.kt +++ b/app/src/main/java/org/mozilla/fenix/home/pocket/PocketStoriesViewHolder.kt @@ -76,7 +76,7 @@ class PocketStoriesViewHolder( .wrapContentHeight(align = Alignment.Top) ) - Spacer(Modifier.height(17.dp)) + Spacer(Modifier.height(16.dp)) PocketStories( stories ?: emptyList(), @@ -101,7 +101,7 @@ fun PocketStoriesViewHolderPreview() { .wrapContentHeight(align = Alignment.Top) ) - Spacer(Modifier.height(17.dp)) + Spacer(Modifier.height(16.dp)) PocketStories( stories = getFakePocketStories(POCKET_STORIES_TO_SHOW_COUNT),