mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-25 04:22:30 +01:00
Add avatar and bannner URLs to channel About tab
This commit is contained in:
parent
013d513450
commit
1061bce4f3
@ -88,5 +88,10 @@ public class ChannelAboutFragment extends BaseDescriptionFragment {
|
||||
addMetadataItem(inflater, layout, false, R.string.metadata_subscribers,
|
||||
Localization.localizeNumber(context, channelInfo.getSubscriberCount()));
|
||||
}
|
||||
|
||||
addMetadataItem(inflater, layout, true, R.string.metadata_avatar_url,
|
||||
channelInfo.getAvatarUrl());
|
||||
addMetadataItem(inflater, layout, true, R.string.metadata_banner_url,
|
||||
channelInfo.getBannerUrl());
|
||||
}
|
||||
}
|
||||
|
@ -756,6 +756,8 @@
|
||||
<string name="metadata_support">Support</string>
|
||||
<string name="metadata_host">Host</string>
|
||||
<string name="metadata_thumbnail_url">Thumbnail URL</string>
|
||||
<string name="metadata_avatar_url">Avatar URL</string>
|
||||
<string name="metadata_banner_url">Banner URL</string>
|
||||
<string name="metadata_privacy_public">Public</string>
|
||||
<string name="metadata_privacy_unlisted">Unlisted</string>
|
||||
<string name="metadata_privacy_private">Private</string>
|
||||
|
Loading…
Reference in New Issue
Block a user