mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Fix merge
This commit is contained in:
parent
24b5fca7f8
commit
dea1aeec57
@ -89,10 +89,10 @@ class VisibleMessageContentView : LinearLayout {
|
||||
val bodyTextView = VisibleMessageContentView.getBodyTextView(context, message)
|
||||
ViewUtil.setPaddingTop(bodyTextView, 0)
|
||||
mainContainer.addView(bodyTextView)
|
||||
onContentClick = { rect ->
|
||||
onContentClick = { event ->
|
||||
val r = Rect()
|
||||
quoteView.getGlobalVisibleRect(r)
|
||||
if (r.contains(rect)) {
|
||||
if (r.contains(event.rawX.roundToInt(), event.rawY.roundToInt())) {
|
||||
delegate?.scrollToMessageIfPossible(quote.id)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user