mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-09-02 19:07:55 +00:00
inverted if-else statement
This commit is contained in:
@@ -126,10 +126,10 @@ public class CommentsMiniInfoItemHolder extends InfoItemHolder {
|
||||
|
||||
|
||||
itemView.setOnLongClickListener(view -> {
|
||||
if (!AndroidTvUtils.isTv(itemBuilder.getContext())) {
|
||||
ShareUtils.copyToClipboard(itemBuilder.getContext(), commentText);
|
||||
} else {
|
||||
if (AndroidTvUtils.isTv(itemBuilder.getContext())) {
|
||||
openCommentAuthor(item);
|
||||
} else {
|
||||
ShareUtils.copyToClipboard(itemBuilder.getContext(), commentText);
|
||||
}
|
||||
return true;
|
||||
});
|
||||
|
Reference in New Issue
Block a user