Change next episode button to be more universal

This commit is contained in:
Cooper Ransom 2024-03-21 20:08:46 -04:00
parent 4155c4b610
commit b2e1cc5aab

View file

@ -15,7 +15,7 @@ function shouldShowNextEpisodeButton(
const percentage = time / duration;
const secondsFromEnd = duration - time;
if (secondsFromEnd <= 30) return "always";
if (percentage >= 0.93) return "hover";
if (percentage >= 0.94) return "hover";
return "none";
}