1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-25 20:42:34 +01:00

Merge pull request #7582 from Jaspann/sub-channel-tumbnail-view-fix

Fixes view of sub-channel icon when not in use
This commit is contained in:
litetex 2021-12-31 14:52:32 +01:00 committed by GitHub
commit 6b490ee547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1521,6 +1521,8 @@ public final class VideoDetailFragment
animate(binding.detailThumbnailPlayButton, true, 200); animate(binding.detailThumbnailPlayButton, true, 200);
binding.detailVideoTitleView.setText(title); binding.detailVideoTitleView.setText(title);
binding.detailSubChannelThumbnailView.setVisibility(View.GONE);
if (!isEmpty(info.getSubChannelName())) { if (!isEmpty(info.getSubChannelName())) {
displayBothUploaderAndSubChannel(info); displayBothUploaderAndSubChannel(info);
} else if (!isEmpty(info.getUploaderName())) { } else if (!isEmpty(info.getUploaderName())) {