ironed out a ui flaw + fix

This commit is contained in:
chrisk325 2026-01-04 05:17:40 +05:30 committed by GitHub
parent d2556b6c36
commit 8a0bed7238
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -469,7 +469,10 @@ const ContinueWatchingSection = React.forwardRef<ContinueWatchingRef>((props, re
// Skip movies that are already watched on Trakt
if (group.type === 'movie') {
const watchedSet = await traktMoviesSetPromise;
if (watchedSet.has(group.id)) {
const imdbId = group.id.startsWith('tt')
? group.id
: `tt${group.id}`;
if (watchedSet.has(imdbId)) {
// Optional: sync local store to watched to prevent reappearance
try {
await storageService.setWatchProgress(group.id, 'movie', {
@ -1198,7 +1201,6 @@ const ContinueWatchingSection = React.forwardRef<ContinueWatchingRef>((props, re
padding: isTV ? 16 : isLargeTablet ? 14 : isTablet ? 12 : 12
}
]}>
<View style={styles.titleRow}>
{(() => {
const isUpNext = item.type === 'series' && item.progress === 0;
return (