Skip to content

Commit 95c442a

Browse files
committedNov 11, 2020
[Jetnews] Bring back a forgotten ContentAlpha.medium
1 parent 01c0804 commit 95c442a

File tree

1 file changed

+6
-4
lines changed
  • JetNews/app/src/main/java/com/example/jetnews/ui/home

1 file changed

+6
-4
lines changed
 

‎JetNews/app/src/main/java/com/example/jetnews/ui/home/PostCards.kt

+6-4
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,12 @@ fun PostCardHistory(post: Post, navigateTo: (Screen) -> Unit) {
116116
modifier = Modifier.padding(end = 16.dp)
117117
)
118118
Column(Modifier.weight(1f)) {
119-
Text(
120-
text = "BASED ON YOUR HISTORY",
121-
style = MaterialTheme.typography.overline
122-
)
119+
Providers(AmbientContentAlpha provides ContentAlpha.medium) {
120+
Text(
121+
text = "BASED ON YOUR HISTORY",
122+
style = MaterialTheme.typography.overline
123+
)
124+
}
123125
PostTitle(post = post)
124126
AuthorAndReadTime(
125127
post = post,

0 commit comments

Comments
 (0)
Please sign in to comment.