Problem:
• For some reason, the
Status Bar,
starts the animation with a darker color and ends up in the
Color.Black 0.5f
as expected, but wonder why it starts as if it was
Color.Black and transitions to
Color.Black 05f
instead of transitioning from
Color.White
to
Color.Black 0.5f
As it is:
This is how it's going right now.
• Screen: ✅
◦ Initial color:
Color.White
◦ Starts animation:
Color.White
◦ Ends animation:
Color.Black.copy(0.5f)
• Status Bar: ❌
◦ Initial color:
Color.White
◦ Starts animation:
Color.Black
(
Or more darker than the ending animation color)
◦ Ends animation:
Color.Black.copy(0.5f)
Additional info:
• Both have the same source of truth, wonder if I'm missing something.
• I tried removing the default implementation for the
transformColorForLightContent = { ... }
from the
systemUi.statusBarColor(...)
but didn't work
• I'm using a
DialogFragment
on top of it, but that shouldn't be a problem, right?
Any idea? 🤔