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