mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-25 12:38:39 -06:00
fix crash on skipping tracks
This commit is contained in:
@@ -154,7 +154,7 @@ export default function PlayerScreen({ navigation }: { navigation: NativeStackNa
|
||||
{/* playback progress goes here */}
|
||||
<HorizontalSlider
|
||||
value={progressState}
|
||||
max={progress?.duration ?? 1}
|
||||
max={progress && progress.duration > 0 ? progress.duration : 1}
|
||||
width={width / 1.1}
|
||||
props={{
|
||||
// If user swipes off of the slider we should seek to the spot
|
||||
|
||||
Reference in New Issue
Block a user