Enable per-app language preferences for Android < 13
This commit is contained in:
parent
6d071608f8
commit
15f79507c4
23 changed files with 85 additions and 145 deletions
|
|
@ -93,7 +93,7 @@ public class DescriptionFragment extends BaseDescriptionFragment {
|
|||
|
||||
if (streamInfo.getLanguageInfo() != null) {
|
||||
addMetadataItem(inflater, layout, false, R.string.metadata_language,
|
||||
streamInfo.getLanguageInfo().getDisplayLanguage(getAppLocale(getContext())));
|
||||
streamInfo.getLanguageInfo().getDisplayLanguage(getAppLocale()));
|
||||
}
|
||||
|
||||
addMetadataItem(inflater, layout, true, R.string.metadata_support,
|
||||
|
|
|
|||
|
|
@ -81,9 +81,7 @@ public class ChannelAboutFragment extends BaseDescriptionFragment {
|
|||
|
||||
if (channelInfo.getSubscriberCount() != UNKNOWN_SUBSCRIBER_COUNT) {
|
||||
addMetadataItem(inflater, layout, false, R.string.metadata_subscribers,
|
||||
Localization.localizeNumber(
|
||||
requireContext(),
|
||||
channelInfo.getSubscriberCount()));
|
||||
Localization.localizeNumber(channelInfo.getSubscriberCount()));
|
||||
}
|
||||
|
||||
addImagesMetadataItem(inflater, layout, R.string.metadata_avatars,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue