prefer trakt's timestamp over local

This commit is contained in:
chrisk325 2026-03-02 23:30:05 +05:30 committed by GitHub
parent b0425b2da7
commit d6b4e788a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1196,8 +1196,8 @@ const ContinueWatchingSection = React.forwardRef<ContinueWatchingRef>((props, re
// Always preferring local was wrong: if you watched on another device,
// Trakt's paused_at is newer and should win for ordering purposes.
const mergedLastUpdated = Math.max(
(mostRecentLocal.lastUpdated ?? 0),
(it.lastUpdated ?? 0)
it.lastUpdated ?? 0,
mostRecentLocal.lastUpdated ?? 0
);
try {