fixed player behavior after final queue track completes, added click to play from queue window
This commit is contained in:
@@ -51,8 +51,8 @@ class PlayerStore {
|
||||
this.update({ isPlaying: data.state === 'playing' });
|
||||
});
|
||||
|
||||
EventsOn(Events.TrackChanged, (trackInfo: TrackInfo) => {
|
||||
this.update({ currentTrack: trackInfo });
|
||||
EventsOn(Events.TrackChanged, (trackInfo: TrackInfo | null) => {
|
||||
this.update({ currentTrack: trackInfo ?? null });
|
||||
});
|
||||
|
||||
EventsOn(Events.PlaybackFinished, () => {
|
||||
|
||||
Reference in New Issue
Block a user