Skip to content

Commit

Permalink
Remove header's tonal elevation to reduce excess of colors
Browse files Browse the repository at this point in the history
  • Loading branch information
diego-francisco-jt committed Sep 18, 2023
1 parent 37666e8 commit 0398b12
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,17 +279,10 @@ private fun AgendaHeader(
2.dp
}

val tonalElevation = if (isExpanded) {
6.dp
} else {
0.dp
}

Surface(
modifier = modifier,
shape = RoundedCornerShape(bottomStart = 16.dp, bottomEnd = 16.dp),
shadowElevation = shadowElevation,
tonalElevation = tonalElevation,
) {
Column {
Row(
Expand Down

0 comments on commit 0398b12

Please sign in to comment.