From 6af616c59207f465d7610711ee83bf09e4f0dcf2 Mon Sep 17 00:00:00 2001 From: ericampire Date: Thu, 12 May 2022 21:53:52 +0200 Subject: [PATCH] Fix Author UI Padding Issue --- .../samples/apps/nowinandroid/feature/author/AuthorScreen.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/feature-author/src/main/java/com/google/samples/apps/nowinandroid/feature/author/AuthorScreen.kt b/feature-author/src/main/java/com/google/samples/apps/nowinandroid/feature/author/AuthorScreen.kt index 69225e7a3..d310955b6 100644 --- a/feature-author/src/main/java/com/google/samples/apps/nowinandroid/feature/author/AuthorScreen.kt +++ b/feature-author/src/main/java/com/google/samples/apps/nowinandroid/feature/author/AuthorScreen.kt @@ -157,8 +157,7 @@ private fun AuthorHeader(author: Author) { modifier = Modifier .size(216.dp) .align(Alignment.CenterHorizontally) - .clip(CircleShape) - .padding(bottom = 12.dp), + .clip(CircleShape), contentScale = ContentScale.Crop, model = author.imageUrl, contentDescription = "Author profile picture", @@ -216,6 +215,7 @@ private fun AuthorToolbar( } val selected = uiState.isFollowed NiaFilterChip( + modifier = Modifier.padding(horizontal = 16.dp), checked = selected, onCheckedChange = onFollowClick, ) {