mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
Long press moved to layout comment.
This commit is contained in:
@@ -103,7 +103,7 @@ class CommentViewHolder : ViewHolder {
|
|||||||
StatePolycentric.instance.updateLikeMap(c.reference, args.hasLiked, args.hasDisliked)
|
StatePolycentric.instance.updateLikeMap(c.reference, args.hasLiked, args.hasDisliked)
|
||||||
};
|
};
|
||||||
|
|
||||||
_textBody.setOnLongClickListener {
|
_layoutComment.setOnLongClickListener {
|
||||||
val clipboard = viewGroup.context.getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
|
val clipboard = viewGroup.context.getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
|
||||||
val text = comment?.message.orEmpty()
|
val text = comment?.message.orEmpty()
|
||||||
val clip = ClipData.newPlainText("Comment", text)
|
val clip = ClipData.newPlainText("Comment", text)
|
||||||
|
|||||||
Reference in New Issue
Block a user