Fix long click on simple formatted messages (#1327)
This commit is contained in:
parent
206579e647
commit
754671303a
2 changed files with 7 additions and 1 deletions
1
changelog.d/1232.bugfix
Normal file
1
changelog.d/1232.bugfix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fix long click on simple formatted messages
|
||||
|
|
@ -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 -> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue