Merge pull request #12 from eric-ampire/main

Fix Author UI Padding Issue
pull/48/head
Jolanda Verhoef 2 years ago committed by GitHub
commit e5040bb2b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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",
@ -216,6 +216,7 @@ private fun AuthorToolbar(
}
val selected = uiState.isFollowed
NiaFilterChip(
modifier = Modifier.padding(horizontal = 16.dp),
checked = selected,
onCheckedChange = onFollowClick,
) {

Loading…
Cancel
Save