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
+1 -1
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;
},
);