Closed leinardi closed 5 months ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
comment or this will be closed in 5 days
Help
On Mon, Nov 13, 2023, 3:32 AM Roberto Leinardi @.***> wrote:
comment or this will be closed in 5 days
— Reply to this email directly, view it on GitHub https://github.com/google/accompanist/issues/1716#issuecomment-1807673579, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6VPCDS6KUSBP7BCJKMTZLTYEHLLPAVCNFSM6AAAAAA5HM56HGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXGY3TGNJXHE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
comment or this will be closed in 5 days
I'm having this issue too. Activity's edge-to-edge doesn't seem to have an equivalent to isNavigationBarContrastEnforced = false
Workaround for isNavigationBarContrastEnforced: https://issuetracker.google.com/issues/324115590#comment3
For the window flags that aren't controlled by the opinionated enableEdgeToEdge
, you can read and write them directly using the relevant Window
, or via the WindowInsetsControllerCompat
for that Window
.
For isStatusBarVisible
, you should be able to use [WindowInsets.areStatusBarsVisible
](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/package-summary#(androidx.compose.foundation.layout.WindowInsets.Companion).areStatusBarsVisible())
I understand that, to properly deal with edge-to-edge and status/notification bar color changes we can now use the
Activity.enableEdgeToEdge
method, as explained here but, what is the advised migration strategy for other features that System UI Controller is providing, likeSystemUiController.systemBarsBehavior
orSystemUiController.isStatusBarVisible
?