mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Fix full screen player metadata may not change when switching queue
This commit is contained in:
@@ -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;
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user