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