diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NoteCompose.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NoteCompose.kt index 8c8576e6d..78a86633a 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NoteCompose.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NoteCompose.kt @@ -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