Show captions for non-english locales

This commit is contained in:
hunicus
2023-03-16 02:29:33 -04:00
parent 4c294b010d
commit c683a52a01
2 changed files with 4 additions and 9 deletions

View File

@@ -92,11 +92,6 @@ export class AboutComponent implements OnInit {
}
showSubtitles(language) {
console.log(this.locale);
if( this.locale.startsWith( language ) ) {
return true;
} else {
return false;
}
return ( this.locale.startsWith( language ) && !this.locale.startsWith('en') );
}
}