mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-11 14:53:47 +02:00
fix(remote): proper image when mpris and remote interleave
This commit is contained in:
@@ -173,7 +173,8 @@ export const useRemote = () => {
|
||||
type: 'itemCard',
|
||||
useRemoteUrl: true,
|
||||
}) || null;
|
||||
remote.updateSong({ ...currentSong, imageUrl });
|
||||
|
||||
remote.updateSong(currentSong, imageUrl);
|
||||
}
|
||||
}, [isRemoteEnabled, player]);
|
||||
|
||||
@@ -204,7 +205,8 @@ export const useRemote = () => {
|
||||
type: 'itemCard',
|
||||
useRemoteUrl: true,
|
||||
}) || null;
|
||||
remote.updateSong({ ...song, imageUrl });
|
||||
|
||||
remote.updateSong(song, imageUrl);
|
||||
} else {
|
||||
remote.updateSong(undefined);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user