I made a full screen dialog using Jetpack compose but every time i try to change status bar and navigation bar color, i get a strong gray overlay that makes every color i chose, almost dark grey.
I've already tried to set custom style in styles.xml file and used the systemUi controller to change colors with the following code:
val systemUiController = rememberSystemUiController().apply {
setNavigationBarColor(navigationBarColor)
setStatusBarColor(statusBarColor)
}
Nothing really worked. What can i do?