mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-18 00:57:02 +05:30
Slightly improve header test
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
8c8af56e67
commit
81bf27c13e
2 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@ package dev.msfjarvis.lobsters.ui.posts
|
|||
|
||||
import androidx.compose.foundation.background
|
||||
import androidx.compose.foundation.layout.Box
|
||||
import androidx.compose.foundation.layout.fillMaxHeight
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.foundation.layout.wrapContentHeight
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.graphics.Color
|
||||
import androidx.compose.ui.graphics.asAndroidBitmap
|
||||
|
@ -28,7 +28,7 @@ class HeaderTest : ScreenshotTest {
|
|||
modifier = Modifier
|
||||
.background(color = Color(0xffffff))
|
||||
.fillMaxWidth()
|
||||
.fillMaxHeight(),
|
||||
.wrapContentHeight(),
|
||||
) {
|
||||
MonthHeader(month = Month.AUGUST)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue