Fix full screen player metadata may not change when switching queue

This commit is contained in:
dragonish 2024-07-26 01:52:40 +08:00
parent 0b786b025f
commit 6c61ea898f
No known key found for this signature in database
GPG key ID: 6F42FA9E807A5177

View file

@ -1054,7 +1054,7 @@ export const usePlayerData = () =>
usePlayerStore( usePlayerStore(
(state) => state.actions.getPlayerData(), (state) => state.actions.getPlayerData(),
(a, b) => { (a, b) => {
return a.current.nextIndex === b.current.nextIndex; return a.current.song?.uniqueId === b.current.song?.uniqueId;
}, },
); );