mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-10-06 15:53:32 +01:00
Fix radio button clicks in multiselect mode.
This commit is contained in:
1 parent
d39ec479ba
commit
bf2ab74ca4
1 file changed
+1
-1
+1
-1
@@ -19,7 +19,7 @@ class MultiselectRecyclerView @JvmOverloads constructor(
|
||||
) : RecyclerView(context, attrs) {
|
||||
|
||||
override fun onInterceptTouchEvent(e: MotionEvent): Boolean {
|
||||
val child: View? = children.firstOrNull { it is Multiselectable }
|
||||
val child: View? = children.firstOrNull { it is Multiselectable && e.y.toInt() in it.top..it.bottom }
|
||||
if (child != null) {
|
||||
child.getHitRect(rect)
|
||||
|
||||
|
||||
Reference in new issue
Block a user