Skip to content

Commit

Permalink
fix: click modifier not working after config change (issue #127)
Browse files Browse the repository at this point in the history
  • Loading branch information
svenjacobs committed May 24, 2024
1 parent c186775 commit 3e723cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public fun Reveal(
val rev by rememberUpdatedState(currentRevealable.value)

val clickModifier = when {
revealState.isVisible && rev != null -> Modifier.pointerInput(Unit) {
revealState.isVisible -> Modifier.pointerInput(Unit) {
detectTapGestures(
onPress = { offset ->
rev?.key?.let(
Expand Down

0 comments on commit 3e723cc

Please sign in to comment.