Skip to content

Commit

Permalink
Merge pull request #3286 from Bnyro/master
Browse files Browse the repository at this point in the history
Fix the formatting of copied comments
  • Loading branch information
Bnyro authored Mar 10, 2023
2 parents bb691c1 + 3326305 commit 57a3940
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 57a3940

Please sign in to comment.