Skip to content

Commit

Permalink
Add InternalComposeUiApi attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
ASalavei committed Sep 2, 2024
1 parent 1bb6113 commit afcccaa
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@

package androidx.compose.ui.node

import androidx.compose.ui.InternalComposeUiApi
import androidx.compose.ui.geometry.Rect
import androidx.compose.ui.internal.checkPrecondition

@InternalComposeUiApi
fun DelegatableNode.bringFocusIntoViewParent(rect: Rect?) {
checkPrecondition(node.isAttached) {
"Cannot get View because the Modifier node is not currently attached."
Expand Down

0 comments on commit afcccaa

Please sign in to comment.