Skip to content

Commit

Permalink
Merge pull request #535 from alexzhirkevich/patch-1
Browse files Browse the repository at this point in the history
Fix swipeEdges doesn't change across recompositions
  • Loading branch information
arkivanov authored Nov 23, 2023
2 parents 688894c + a882b84 commit 67d1d00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private fun Modifier.handleBackGestures(
onIconMoved: (position: Offset, progress: Float, BackGestureHandler.Edge) -> Unit,
onIconHidden: () -> Unit,
): Modifier =
pointerInput(backDispatcher) {
pointerInput(backDispatcher, swipeEdges) {
awaitEachGesture {
onIconHidden()

Expand Down

0 comments on commit 67d1d00

Please sign in to comment.