Fix item elevation transition
This commit is contained in:
@@ -67,7 +67,8 @@ fun InnerCard(
|
|||||||
InnerCardStyle.Highlighted -> {
|
InnerCardStyle.Highlighted -> {
|
||||||
MaterialTheme.colorScheme.secondaryContainer
|
MaterialTheme.colorScheme.secondaryContainer
|
||||||
}
|
}
|
||||||
InnerCardStyle.Default -> Color.Transparent
|
InnerCardStyle.Default -> MaterialTheme
|
||||||
|
.colorScheme.surface.copy(alpha = 0f)
|
||||||
else -> {
|
else -> {
|
||||||
MaterialTheme.colorScheme.surfaceColorAtElevation(absoluteTonalElevation + elevation)
|
MaterialTheme.colorScheme.surfaceColorAtElevation(absoluteTonalElevation + elevation)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user