|
@ -11,6 +11,7 @@ import { |
|
|
fixPlayer2Index, |
|
|
fixPlayer2Index, |
|
|
clearPlayQueue, |
|
|
clearPlayQueue, |
|
|
shuffleInPlace, |
|
|
shuffleInPlace, |
|
|
|
|
|
toggleShuffle, |
|
|
} from '../../redux/playQueueSlice'; |
|
|
} from '../../redux/playQueueSlice'; |
|
|
import { |
|
|
import { |
|
|
toggleSelected, |
|
|
toggleSelected, |
|
@ -130,7 +131,11 @@ const NowPlayingView = () => { |
|
|
<HeaderButton |
|
|
<HeaderButton |
|
|
size="sm" |
|
|
size="sm" |
|
|
onClick={() => { |
|
|
onClick={() => { |
|
|
dispatch(shuffleInPlace()); |
|
|
if (playQueue.shuffle) { |
|
|
|
|
|
dispatch(shuffleInPlace()); |
|
|
|
|
|
} else { |
|
|
|
|
|
dispatch(toggleShuffle()); |
|
|
|
|
|
} |
|
|
}} |
|
|
}} |
|
|
> |
|
|
> |
|
|
Shuffle |
|
|
Shuffle |
|
|