fix(native): show only actors in the title cast row

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jakeandClaude Opus 5.5 committed 2026-10-06 12:33:55 -04:00
1 parent 9140891dd5
commit 8a406626ba
1 file changed
+4 -1
+4 -1
View File
@@ -149,7 +149,10 @@ export default function TitleDetailScreen() {
}, [isPreview, id, titleName, titleType, titlePosterPath, titleYear]);
const seasons = detail.data?.seasons ?? [];
const cast = detail.data?.cast ?? [];
const cast = useMemo(
() => (detail.data?.cast ?? []).filter((member) => member.department === "Acting"),
[detail.data?.cast],
);
const availability = detail.data?.availability ?? [];
const watchedEpisodeIds = useMemo(
() => new Set(userInfo.data?.episodeWatches ?? []),