Skip to content

Commit

Permalink
Merge pull request #680 from dragonish/metadata
Browse files Browse the repository at this point in the history
Fix full screen player metadata may not change when switching queue
  • Loading branch information
jeffvli authored Jul 25, 2024
2 parents 0b786b0 + 6c61ea8 commit 4ca7b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/store/player.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
);

Expand Down

0 comments on commit 4ca7b42

Please sign in to comment.