Skip to content

Commit

Permalink
Fix swipeEdges recompositions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzhirkevich authored Nov 22, 2023
1 parent 688894c commit a882b84
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 a882b84

Please sign in to comment.