126: Fix sticky header background being transparent r=msfjarvis a=msfjarvis

bors r+

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
bors[bot] 2021-02-28 08:46:44 +00:00 committed by GitHub
commit 799dd5adbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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