mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-25 12:32:31 +01:00
Hide the upload date element on the About tab
This empty element should be always hidden for this tab, as there is no upload date available for channels.
This commit is contained in:
parent
89dc44be61
commit
f2ee3859ab
@ -84,6 +84,8 @@ public class ChannelAboutFragment extends BaseDescriptionFragment {
|
||||
protected void setupMetadata(final LayoutInflater inflater,
|
||||
final LinearLayout layout) {
|
||||
final Context context = getContext();
|
||||
// There is no upload date available for channels, so hide the relevant UI element
|
||||
binding.detailUploadDateView.setVisibility(View.GONE);
|
||||
|
||||
if (channelInfo.getSubscriberCount() != UNKNOWN_SUBSCRIBER_COUNT) {
|
||||
addMetadataItem(inflater, layout, false, R.string.metadata_subscribers,
|
||||
|
Loading…
Reference in New Issue
Block a user