Fix the formatting of copied comments

This commit is contained in:
Bnyro 2023-03-10 18:11:38 +01:00
parent 061c4dde47
commit 3326305309

View File

@ -116,7 +116,7 @@ class CommentsAdapter(
}
}
root.setOnLongClickListener {
ClipboardHelper.save(root.context, comment.commentText ?: "")
ClipboardHelper.save(root.context, comment.commentText.orEmpty().parseAsHtml().toString())
Toast.makeText(root.context, R.string.copied, Toast.LENGTH_SHORT).show()
true
}