Skip to content

Commit

Permalink
detachLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
dima-avdeev-jb committed Dec 8, 2023
1 parent 1d289f9 commit ec3e451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ internal class ComposeContainer(
layers.add(layer)
}

fun detatchLayer(layer: UIViewComposeSceneLayer) {
fun detachLayer(layer: UIViewComposeSceneLayer) {
layers.remove(layer)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ internal class UIViewComposeSceneLayer(

override fun close() {
mediator.dispose()
composeContainer.detatchLayer(this)
composeContainer.detachLayer(this)
}

override fun setContent(content: @Composable () -> Unit) {
Expand Down

0 comments on commit ec3e451

Please sign in to comment.