Fixes the background color behind the show more button on light mode

This commit is contained in:
Vitor Pamplona
2025-08-07 09:50:20 -04:00
parent f35376a7da
commit 10832e10c8

View File

@@ -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