mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 22:17:03 +05:30
LobstersItem: make card background lighter
This commit is contained in:
parent
558c96a989
commit
735d93c968
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ import androidx.compose.material.IconToggleButton
|
|||
import androidx.compose.material.MaterialTheme
|
||||
import androidx.compose.material.Surface
|
||||
import androidx.compose.material.Text
|
||||
import androidx.compose.material.primarySurface
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.Modifier
|
||||
|
@ -61,7 +62,7 @@ fun LobstersCard(
|
|||
modifier: Modifier = Modifier,
|
||||
) {
|
||||
Card(
|
||||
modifier = Modifier.then(modifier),
|
||||
modifier = Modifier.background(MaterialTheme.colors.primarySurface).then(modifier),
|
||||
onClick = { viewPost() },
|
||||
) {
|
||||
Column(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue