kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Add avatar and bannner URLs to channel About tab
rodzic
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>
|
||||
|
|
Ładowanie…
Reference in New Issue