mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-10-15 19:45:42 -04:00
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:
1 file changed
+4
-1
@@ -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 ?? []),
|
||||
|
||||
Reference in new issue
Block a user