Fix issues from #1530

This commit is contained in:
Damontecres 2026-06-14 19:55:01 -04:00
parent 8534c58426
commit ddbec0da73
No known key found for this signature in database
6 changed files with 6 additions and 6 deletions

View file

@ -94,7 +94,7 @@ val ExtraType.stringRes: Int
when (this) {
ExtraType.UNKNOWN -> R.string.other_extras_title
ExtraType.CLIP -> R.string.clips_title
ExtraType.TRAILER -> R.string.trailers
ExtraType.TRAILER -> R.string.trailers_title
ExtraType.BEHIND_THE_SCENES -> R.string.behind_the_scenes_title
ExtraType.DELETED_SCENE -> R.string.deleted_scenes_title
ExtraType.INTERVIEW -> R.string.interviews_title

View file

@ -224,7 +224,7 @@ fun formatTypeName(type: BaseItemKind): Int =
BaseItemKind.RECORDING -> TODO()
BaseItemKind.SEASON -> R.string.tv_seasons
BaseItemKind.STUDIO -> R.string.studios
BaseItemKind.TRAILER -> R.string.trailers
BaseItemKind.TRAILER -> R.string.trailers_title
BaseItemKind.TV_CHANNEL -> R.string.channels
BaseItemKind.TV_PROGRAM -> TODO()
BaseItemKind.USER_ROOT_FOLDER -> TODO()

View file

@ -399,7 +399,7 @@ fun TrailerButton(
} else if (trailers.size == 1) {
R.string.play_trailer
} else {
R.string.trailers
R.string.trailers_title
},
iconStringRes = R.string.fa_film,
enabled = trailers.isNotEmpty(),

View file

@ -390,7 +390,7 @@ fun TrailerRow(
modifier = modifier,
) {
Text(
text = stringResource(R.string.trailers),
text = stringResource(R.string.trailers_title),
style = MaterialTheme.typography.titleLarge,
color = MaterialTheme.colorScheme.onBackground,
)