mirror of
https://github.com/MaintainTeam/LastPipeBender.git
synced 2025-03-01 05:48:22 +03:00
Fixes view of sub-channel icon when not in use
This commit is contained in:
parent
215880207e
commit
53f5741317
1 changed files with 5 additions and 0 deletions
|
@ -1648,6 +1648,11 @@ public final class VideoDetailFragment
|
|||
binding.detailSubChannelTextView.setVisibility(View.VISIBLE);
|
||||
binding.detailSubChannelTextView.setSelected(true);
|
||||
binding.detailUploaderTextView.setVisibility(View.GONE);
|
||||
|
||||
//No sub-channel name implies no sub-channel icon, but check just to make sure.
|
||||
if(isEmpty(info.getSubChannelAvatarUrl())){
|
||||
binding.detailSubChannelThumbnailView.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
private void displayBothUploaderAndSubChannel(final StreamInfo info) {
|
||||
|
|
Loading…
Add table
Reference in a new issue