Skip to content

Commit

Permalink
Merge pull request #12 from eric-ampire/main
Browse files Browse the repository at this point in the history
Fix Author UI Padding Issue
  • Loading branch information
JolandaVerhoef authored May 18, 2022
2 parents bd38004 + 8416a16 commit e5040bb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ private fun AuthorHeader(author: Author) {
) {
AsyncImage(
modifier = Modifier
.padding(bottom = 12.dp)
.size(216.dp)
.align(Alignment.CenterHorizontally)
.clip(CircleShape)
.padding(bottom = 12.dp),
.clip(CircleShape),
contentScale = ContentScale.Crop,
model = author.imageUrl,
contentDescription = "Author profile picture",
Expand Down Expand Up @@ -216,6 +216,7 @@ private fun AuthorToolbar(
}
val selected = uiState.isFollowed
NiaFilterChip(
modifier = Modifier.padding(horizontal = 16.dp),
checked = selected,
onCheckedChange = onFollowClick,
) {
Expand Down

0 comments on commit e5040bb

Please sign in to comment.