Skip to content

Commit f98f805

Browse files
committed
🔧 updated metadata
1 parent 517a609 commit f98f805

File tree

8 files changed

+4
-4
lines changed

8 files changed

+4
-4
lines changed

app/src/main/java/com/shub39/rush/presentation/ListItemExt.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ private const val endCornerRadius = 16
2929

3030
@Composable
3131
fun listItemColors(): ListItemColors {
32-
return ListItemDefaults.colors(
33-
containerColor = MaterialTheme.colorScheme.surfaceContainerHighest
34-
)
32+
return ListItemDefaults.colors(containerColor = MaterialTheme.colorScheme.surfaceContainerHigh)
3533
}
3634

3735
fun leadingItemShape(): Shape =

app/src/main/java/com/shub39/rush/presentation/components/ListItemCard.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import androidx.compose.foundation.shape.RoundedCornerShape
2323
import androidx.compose.material3.Card
2424
import androidx.compose.material3.CardColors
2525
import androidx.compose.material3.CardDefaults
26+
import androidx.compose.material3.MaterialTheme
2627
import androidx.compose.runtime.Composable
2728
import androidx.compose.ui.Modifier
2829
import androidx.compose.ui.graphics.Shape
@@ -32,7 +33,8 @@ import androidx.compose.ui.unit.dp
3233
fun ListItemCard(
3334
modifier: Modifier = Modifier,
3435
shape: Shape = RoundedCornerShape(4.dp),
35-
colors: CardColors = CardDefaults.cardColors(),
36+
colors: CardColors =
37+
CardDefaults.cardColors(containerColor = MaterialTheme.colorScheme.surfaceContainerHigh),
3638
content: @Composable (ColumnScope.() -> Unit),
3739
) {
3840
Card(modifier = modifier, shape = shape, colors = colors) {
-16.4 KB
Loading
-2.63 KB
Loading
5.14 KB
Loading
-73.5 KB
Loading
25.2 KB
Loading
233 KB
Loading

0 commit comments

Comments
 (0)