Skip to content

Commit

Permalink
Add no-background post listing. Fixes #91 (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines authored Feb 17, 2022
1 parent ef0b779 commit 0af3b6f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -518,12 +518,17 @@ fun PostListing(

Card(
shape = MaterialTheme.shapes.small,
elevation = if (fullBody) {
0.dp
} else {
1.dp
},
modifier = Modifier
.padding(vertical = MEDIUM_PADDING)
.clickable { onPostClick(postView) }
) {
Column(
modifier = Modifier.padding(vertical = SMALL_PADDING, horizontal = LARGE_PADDING),
modifier = Modifier.padding(vertical = MEDIUM_PADDING, horizontal = LARGE_PADDING),
verticalArrangement = Arrangement.spacedBy(LARGE_PADDING)
) {

Expand Down

0 comments on commit 0af3b6f

Please sign in to comment.