mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
Update src/routes/Player/ControlBar/SeekBar/SeekBar.js
Co-authored-by: Timothy Z. <117831817+kKaskak@users.noreply.github.com>
This commit is contained in:
parent
d3e0ff2437
commit
10e37a9889
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ const SeekBar = ({ className, time, duration, buffered, onSeekRequested }) => {
|
|||
/>
|
||||
<Button onClick={toggleRemainingTimeMode}>
|
||||
<div className={styles['label']}>
|
||||
{remainingTimeMode
|
||||
{remainingTimeMode && duration !== null && !isNaN(duration)
|
||||
? formatTime(duration - time, '-')
|
||||
: formatTime(duration) }
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue