removed unnecessary guard

This commit is contained in:
Siiiiinth
2026-02-15 21:14:30 +01:00
parent f7c33da085
commit 279bc997aa
-3
View File
@@ -391,9 +391,6 @@ func (p *playbackEngine) SetShuffle(shuffle bool) {
} }
if p.nowPlayingIdx >= 0 && newNowPlayingIdx == -1 {
return
}
p.handleNextTrackUpdated() p.handleNextTrackUpdated()
p.nowPlayingIdx = newNowPlayingIdx p.nowPlayingIdx = newNowPlayingIdx
p.invokeNoArgCallbacks(p.onQueueChange) p.invokeNoArgCallbacks(p.onQueueChange)