google / accompanist

A collection of extension libraries for Jetpack Compose
https://google.github.io/accompanist
Apache License 2.0
7.43k stars 598 forks source link

[System UI Controller] SystemUiController.navigationBarDarkContentEnabled isn't working in API 34 emulator #1681

Closed Omico closed 1 year ago

Omico commented 1 year ago

To Reproduce

    val systemUiController = rememberSystemUiController()
    LaunchedEffect(systemUiController) {
        systemUiController.setSystemBarsColor(
            color = Color.Transparent,
            darkIcons = true,
        )
    }

Screenshots?

Environment:

alexvanyo commented 1 year ago

This lines up with behavior on a Pixel Tablet running Android 14 with the "3 button" navigation mode.

In that case, the color of the taskbar is controlled entirely by the system's theme, and not by the application through the window APIs (which systemuicontroller wraps).

So nothing applicable to accompanist here.