Add avatar and bannner URLs to channel About tab

pull/9182/head
Stypox 2023-04-21 15:54:22 +02:00
rodzic 013d513450
commit 1061bce4f3
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4BDF1B40A49FDD23
2 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -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());
}
}

Wyświetl plik

@ -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>