mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Fix long click on simple formatted messages (#1327)
This commit is contained in:
committed by
GitHub
parent
206579e647
commit
754671303a
@@ -0,0 +1 @@
|
|||||||
|
Fix long click on simple formatted messages
|
||||||
+6
-1
@@ -126,7 +126,12 @@ private fun HtmlBody(
|
|||||||
when (val node = nodes.next()) {
|
when (val node = nodes.next()) {
|
||||||
is TextNode -> {
|
is TextNode -> {
|
||||||
if (!node.isBlank) {
|
if (!node.isBlank) {
|
||||||
ClickableLinkText(text = node.text(), interactionSource = interactionSource)
|
ClickableLinkText(
|
||||||
|
text = node.text(),
|
||||||
|
interactionSource = interactionSource,
|
||||||
|
onClick = onTextClicked,
|
||||||
|
onLongClick = onTextLongClicked,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
is Element -> {
|
is Element -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user