Loading packages/SystemUI/compose/core/src/com/android/compose/animation/Expandable.kt +5 −1 Original line number Diff line number Diff line Loading @@ -311,7 +311,11 @@ fun Expandable( .then(clickModifier(controller, onClick, onClickLabel, interactionSource)) .animatedBackground(color, shape = shape) .border(controller) .onGloballyPositioned { controller.boundsInComposeViewRoot = it.boundsInRoot() } .onGloballyPositioned { if (it.isAttached) { controller.boundsInComposeViewRoot = it.boundsInRoot() } } ) { wrappedContent(controller.expandable) } Loading Loading
packages/SystemUI/compose/core/src/com/android/compose/animation/Expandable.kt +5 −1 Original line number Diff line number Diff line Loading @@ -311,7 +311,11 @@ fun Expandable( .then(clickModifier(controller, onClick, onClickLabel, interactionSource)) .animatedBackground(color, shape = shape) .border(controller) .onGloballyPositioned { controller.boundsInComposeViewRoot = it.boundsInRoot() } .onGloballyPositioned { if (it.isAttached) { controller.boundsInComposeViewRoot = it.boundsInRoot() } } ) { wrappedContent(controller.expandable) } Loading