Don't show "playing/paused" icon on the first song when calling "Play Now"
This commit is contained in:
parent
24d4c81b34
commit
b34d77f85a
1 changed files with 0 additions and 7 deletions
|
|
@ -110,15 +110,8 @@ const reduceSetVolume = (state, { data: { volume } }) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const reduceSyncQueue = (state, { data: { audioInfo, audioLists } }) => {
|
const reduceSyncQueue = (state, { data: { audioInfo, audioLists } }) => {
|
||||||
const current = audioLists.length > 0 ? audioInfo : {}
|
|
||||||
const savedPlayIndex = audioLists.findIndex(
|
|
||||||
(item) => item.uuid === current.uuid
|
|
||||||
)
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...state,
|
...state,
|
||||||
current,
|
|
||||||
savedPlayIndex,
|
|
||||||
queue: audioLists,
|
queue: audioLists,
|
||||||
clear: false,
|
clear: false,
|
||||||
playIndex: undefined,
|
playIndex: undefined,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue