Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
MGaetan89 committed Feb 5, 2024
1 parent 5bd3267 commit 4eaffe0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ fun DebugPlayerView(modifier: Modifier) {
}

/**
* Render [player] content on a [SurfaceView]
* Render the [player] content on a [SurfaceView].
*
* @param player The player to render on the SurfaceView.
* @param modifier The modifier to be applied to the layout.
Expand All @@ -151,7 +151,7 @@ internal fun AndroidPlayerSurfaceView(player: Player, modifier: Modifier = Modif
}, onRelease = { view ->
view.player = null
}, onReset = { view ->
// onRested is called before update when composable is reuse with different context.
// onReset is called before `update`, when the composable is reused with a different context.
view.player = null
}
)
Expand Down

0 comments on commit 4eaffe0

Please sign in to comment.