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