I've encountered a problem with transitioning between screens in Jetpack Compose. By default when we navigate in Compose it applies CrossFade animation. The problem is that my second screen has totally different color, so i want StatusBar and optionally NavigationBar to be animated the same way the screen does, but I don't know how.
I've tried to make StatusBar Transparent by doing systemUiController.setSystemBarsColor(Color.Transparent)
, but the StatusBar just became white, so it didn't work.
Any propositions are welcome :)