fix: long-press enters multi-select — unify tap gestures (v2.9.28) Reported ~5x; a prior emulator-only 'fix' gave a false green. Root cause: the vault entry row ran TWO independent tap detectors on the same pointer — Modifier.clickable(onClick) plus a separate detectTapGestures(onLongPress). They raced for the gesture and clickable's detector tended to win, so the separate onLongPress never reliably fired on a real finger. - Replaced both with a single Modifier.combinedClickable(onClick, onLongClick), the established pattern already used in NotesModeScreen. It arbitrates click vs long-press correctly and keeps the interactionSource that drives the pressed row background; swipe-to-copy detector is untouched - Removed the now-unused detectTapGestures import - compileDebugKotlin green. NOTE: needs June's on-device confirmation — this bug cannot be honestly verified via emulator/adb gestural injection
$ koh steal kepr.uk/peach-android@230fc12025fd
·
parent: 15358ca53de8
discussion
log in to leave a comment.