mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 18:06:39 +02:00
Fixes the background color behind the show more button on light mode
This commit is contained in:
@@ -399,17 +399,17 @@ fun calculateBackgroundColor(
|
||||
newItemColor.compositeOver(defaultBackgroundColor)
|
||||
}
|
||||
} else {
|
||||
parentBackgroundColor?.value ?: Color.Transparent
|
||||
parentBackgroundColor?.value ?: defaultBackgroundColor.copy(alpha = 0f)
|
||||
}
|
||||
} else {
|
||||
parentBackgroundColor?.value ?: Color.Transparent
|
||||
parentBackgroundColor?.value ?: defaultBackgroundColor.copy(alpha = 0f)
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
LaunchedEffect(createdAt) {
|
||||
delay(5000)
|
||||
bgColor.value = parentBackgroundColor?.value ?: Color.Transparent
|
||||
bgColor.value = parentBackgroundColor?.value ?: defaultBackgroundColor.copy(alpha = 0f)
|
||||
}
|
||||
|
||||
return bgColor
|
||||
|
Reference in New Issue
Block a user