We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c6bb69 commit 38f5d06Copy full SHA for 38f5d06
app/src/main/java/com/lorenzovainigli/foodexpirationdates/view/composable/SettingsItem.kt
@@ -32,7 +32,7 @@ fun SettingsItem(
32
Column(
33
modifier = Modifier
34
.wrapContentSize()
35
- .clip(RoundedCornerShape(20))
+ .clip(RoundedCornerShape(12))
36
.background(MaterialTheme.colorScheme.surfaceColorAtElevation(TonalElevation.level1()))
37
.padding(12.dp)
38
) {
@@ -65,10 +65,7 @@ fun SettingsItem(
65
@Composable
66
fun Preview() {
67
FoodExpirationDatesTheme {
68
- Surface(
69
- color = MaterialTheme.colorScheme.background,
70
- tonalElevation = TonalElevation.level2()
71
- ) {
+ Surface {
72
SettingsItem(
73
label = "Label",
74
description = "Description"
0 commit comments