mirror of
https://github.com/navidrome/navidrome.git
synced 2026-03-04 06:35:52 +00:00
Don't show "playing/paused" icon on the first song when calling "Play Now"
This commit is contained in:
parent
8b1d6e16be
commit
1814bfefc1
@ -110,15 +110,8 @@ const reduceSetVolume = (state, { data: { volume } }) => {
|
||||
}
|
||||
|
||||
const reduceSyncQueue = (state, { data: { audioInfo, audioLists } }) => {
|
||||
const current = audioLists.length > 0 ? audioInfo : {}
|
||||
const savedPlayIndex = audioLists.findIndex(
|
||||
(item) => item.uuid === current.uuid
|
||||
)
|
||||
|
||||
return {
|
||||
...state,
|
||||
current,
|
||||
savedPlayIndex,
|
||||
queue: audioLists,
|
||||
clear: false,
|
||||
playIndex: undefined,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user