mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 23:06:24 +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)
|
newItemColor.compositeOver(defaultBackgroundColor)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
parentBackgroundColor?.value ?: Color.Transparent
|
parentBackgroundColor?.value ?: defaultBackgroundColor.copy(alpha = 0f)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
parentBackgroundColor?.value ?: Color.Transparent
|
parentBackgroundColor?.value ?: defaultBackgroundColor.copy(alpha = 0f)
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
LaunchedEffect(createdAt) {
|
LaunchedEffect(createdAt) {
|
||||||
delay(5000)
|
delay(5000)
|
||||||
bgColor.value = parentBackgroundColor?.value ?: Color.Transparent
|
bgColor.value = parentBackgroundColor?.value ?: defaultBackgroundColor.copy(alpha = 0f)
|
||||||
}
|
}
|
||||||
|
|
||||||
return bgColor
|
return bgColor
|
||||||
|
Reference in New Issue
Block a user