header: fix unwanted transparency

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-02-28 18:57:58 +05:30
parent 0f03ac28d8
commit 582fb5ba93
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -1,5 +1,6 @@
package dev.msfjarvis.lobsters.ui.posts
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
@ -21,6 +22,7 @@ fun MonthHeader(month: Month) {
Box(
Modifier
.fillMaxWidth()
.background(MaterialTheme.colors.background)
.wrapContentHeight()
) {
Text(