mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 04:51:06 +02:00
improve library header loading
This commit is contained in:
@@ -132,7 +132,7 @@ export const FullScreenPlayerImage = () => {
|
||||
const { queue } = usePlayerData();
|
||||
const { useImageAspectRatio } = useFullScreenPlayerStore();
|
||||
const currentSong = queue.current;
|
||||
const { color: background } = useFastAverageColor({
|
||||
const { background } = useFastAverageColor({
|
||||
algorithm: 'dominant',
|
||||
src: queue.current?.imageUrl,
|
||||
srcLoaded: true,
|
||||
|
||||
@@ -472,7 +472,7 @@ export const FullScreenPlayer = () => {
|
||||
}, [location, setStore]);
|
||||
|
||||
const currentSong = useCurrentSong();
|
||||
const { color: background } = useFastAverageColor({
|
||||
const { background } = useFastAverageColor({
|
||||
algorithm: 'dominant',
|
||||
src: currentSong?.imageUrl,
|
||||
srcLoaded: true,
|
||||
|
||||
Reference in New Issue
Block a user