From 21184f875522a17dc59f89bfcf44cbc103b69514 Mon Sep 17 00:00:00 2001 From: harshlele <45959248+harshlele@users.noreply.github.com> Date: Wed, 5 Feb 2020 14:48:39 +0530 Subject: [PATCH] Update CommentsMiniInfoItemHolder.java Co-Authored-By: yausername <5203007+yausername@users.noreply.github.com> --- .../newpipe/info_list/holder/CommentsMiniInfoItemHolder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/schabi/newpipe/info_list/holder/CommentsMiniInfoItemHolder.java b/app/src/main/java/org/schabi/newpipe/info_list/holder/CommentsMiniInfoItemHolder.java index 592378dc0..58f1ab90d 100644 --- a/app/src/main/java/org/schabi/newpipe/info_list/holder/CommentsMiniInfoItemHolder.java +++ b/app/src/main/java/org/schabi/newpipe/info_list/holder/CommentsMiniInfoItemHolder.java @@ -134,7 +134,7 @@ public class CommentsMiniInfoItemHolder extends InfoItemHolder { ClipboardManager clipboardManager = (ClipboardManager) itemBuilder.getContext() .getSystemService(Context.CLIPBOARD_SERVICE); - clipboardManager.setPrimaryClip(ClipData.newPlainText(null,itemContentView.getText())); + clipboardManager.setPrimaryClip(ClipData.newPlainText(null,commentText)); Toast.makeText(itemBuilder.getContext(), R.string.msg_copied, Toast.LENGTH_SHORT).show(); return true;