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
1 changed files with 2 additions and 0 deletions

View File

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