Improve age restriction and yt restricted content strings

This commit is contained in:
Stypox 2020-09-29 21:09:11 +02:00
parent 3ba9fb375c
commit 84694a8bbd
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
3 changed files with 11 additions and 7 deletions

View file

@ -1551,7 +1551,8 @@ public class VideoDetailFragment
}
private void hideAgeRestrictedContent() {
showError(getString(R.string.restricted_video), false);
showError(getString(R.string.restricted_video,
getString(R.string.show_age_restricted_content_title)), false);
if (relatedStreamsLayout != null) { // tablet
relatedStreamsLayout.setVisibility(View.INVISIBLE);