fix special id mark as watched on trakt

This commit is contained in:
chrisk325 2026-03-15 15:56:13 +05:30 committed by GitHub
parent 8dc96f4ab3
commit a33ebfdbcc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -206,7 +206,7 @@ const ContentItem = ({ item, onPress, shouldLoadImage: shouldLoadImageProp, defe
} }
} else { } else {
if (item.type === 'movie') { if (item.type === 'movie') {
watchedService.unmarkMovieAsWatched(item.id); watchedService.unmarkMovieAsWatched(item.id, item.imdb_id ?? undefined);
} else { } else {
// Unmarking a series from the top level is tricky as we don't know the exact episodes. // Unmarking a series from the top level is tricky as we don't know the exact episodes.
// For safety and consistency with old behavior, we just clear the legacy flag. // For safety and consistency with old behavior, we just clear the legacy flag.