Mofe Ejegi
09/23/2026, 2:46 PMcalculatePosture() returns a shared constant with an empty hinge list.
Context: I have a special layout presented in my app when the Hinge is in the vertical HALF_OPENED state. As expected, the state isn't triggered in Compose Multiplatform using the current adaptive library.
WindowAdaptiveInfo.nonAndroid.kt
@Composable
internal actual fun calculatePosture(): Posture =
DefaultPosture // Postures and hinges are relevant to android devices only
I believe this needs an update with the coming of the Duo.
PS: safeDrawingPadding() or systemBarsPadding() offsets the center of the layout due to the nav insets on the right side of the Duo.curioustechizen
09/23/2026, 4:05 PMMofe Ejegi
09/23/2026, 4:10 PM