Merge pull request #680 from dragonish/metadata

Fix full screen player metadata may not change when switching queue
This commit is contained in:
Jeff 2024-07-25 12:36:19 -07:00 committed by GitHub
commit 4ca7b4221c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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