fix lint
This commit is contained in:
@@ -323,7 +323,7 @@ func (p *playbackEngine) SetShuffle(shuffle bool) {
|
||||
return
|
||||
}
|
||||
|
||||
newNowPlayingIdx := -1
|
||||
var newNowPlayingIdx int
|
||||
if shuffle {
|
||||
shuffledQueue := deepCopyMediaItemSlice(p.playQueue)
|
||||
rand.Shuffle(len(shuffledQueue), func(i, j int) {
|
||||
|
||||
Reference in New Issue
Block a user