mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-04-29 04:13:03 +00:00
ironed out a ui flaw + fix
This commit is contained in:
parent
d2556b6c36
commit
8a0bed7238
1 changed files with 4 additions and 2 deletions
|
|
@ -469,7 +469,10 @@ const ContinueWatchingSection = React.forwardRef<ContinueWatchingRef>((props, re
|
||||||
// Skip movies that are already watched on Trakt
|
// Skip movies that are already watched on Trakt
|
||||||
if (group.type === 'movie') {
|
if (group.type === 'movie') {
|
||||||
const watchedSet = await traktMoviesSetPromise;
|
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
|
// Optional: sync local store to watched to prevent reappearance
|
||||||
try {
|
try {
|
||||||
await storageService.setWatchProgress(group.id, 'movie', {
|
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
|
padding: isTV ? 16 : isLargeTablet ? 14 : isTablet ? 12 : 12
|
||||||
}
|
}
|
||||||
]}>
|
]}>
|
||||||
<View style={styles.titleRow}>
|
|
||||||
{(() => {
|
{(() => {
|
||||||
const isUpNext = item.type === 'series' && item.progress === 0;
|
const isUpNext = item.type === 'series' && item.progress === 0;
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue