mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-04-28 20:03:34 +00:00
prefer trakt's timestamp over local
This commit is contained in:
parent
b0425b2da7
commit
d6b4e788a8
1 changed files with 2 additions and 2 deletions
|
|
@ -1196,8 +1196,8 @@ const ContinueWatchingSection = React.forwardRef<ContinueWatchingRef>((props, re
|
||||||
// Always preferring local was wrong: if you watched on another device,
|
// Always preferring local was wrong: if you watched on another device,
|
||||||
// Trakt's paused_at is newer and should win for ordering purposes.
|
// Trakt's paused_at is newer and should win for ordering purposes.
|
||||||
const mergedLastUpdated = Math.max(
|
const mergedLastUpdated = Math.max(
|
||||||
(mostRecentLocal.lastUpdated ?? 0),
|
it.lastUpdated ?? 0,
|
||||||
(it.lastUpdated ?? 0)
|
mostRecentLocal.lastUpdated ?? 0
|
||||||
);
|
);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue