Skip to content

Commit

Permalink
fix web
Browse files Browse the repository at this point in the history
  • Loading branch information
Uriopass committed Mar 5, 2024
1 parent 9c0e40b commit bdf7e64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions musidex-web/src/domain/trackplayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function setupListeners(trackplayer: TrackPlayer, metadata: MusidexMetada
doNext();
return;
}
dispatch({action: "play", id: trackplayer.current});
dispatch({action: "play", id: trackplayer.current, force: false});
}
if (e.code === "ArrowRight") {
e.preventDefault();
Expand Down Expand Up @@ -219,4 +219,4 @@ export function applyTrackPlayer(trackplayer: TrackPlayer, action: TrackPlayerAc
}

export const TrackplayerCtx = React.createContext<[TrackPlayer, Dispatch<TrackPlayerAction>]>([newTrackPlayer(), _ => _]);
export default TrackPlayer;
export default TrackPlayer;

0 comments on commit bdf7e64

Please sign in to comment.