2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-02 03:40:16 +00:00

No issue: Update Pocket categories spacing to 16dp. (#21757)

(cherry picked from commit 3632ed77d5)

Co-authored-by: Roger Yang <royang@mozilla.com>
This commit is contained in:
mergify[bot] 2021-10-06 17:05:46 -04:00 committed by GitHub
parent 6d32b1c324
commit 01ee7e7cd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,8 @@ fun PocketStoriesCategories(
) { ) {
Box(modifier = modifier) { Box(modifier = modifier) {
StaggeredHorizontalGrid( StaggeredHorizontalGrid(
horizontalItemsSpacing = 8.dp horizontalItemsSpacing = 16.dp,
verticalItemsSpacing = 16.dp
) { ) {
categories.filter { it.name != POCKET_STORIES_DEFAULT_CATEGORY_NAME }.forEach { category -> categories.filter { it.name != POCKET_STORIES_DEFAULT_CATEGORY_NAME }.forEach { category ->
SelectableChip(category.name, selections.map { it.name }.contains(category.name)) { SelectableChip(category.name, selections.map { it.name }.contains(category.name)) {