mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-12 15:22:35 +02:00
show right control rating for subsonic servers
This commit is contained in:
@@ -115,7 +115,9 @@ export const RightControls = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const isSongDefined = Boolean(currentSong?.id);
|
const isSongDefined = Boolean(currentSong?.id);
|
||||||
const showRating = isSongDefined && server?.type === ServerType.NAVIDROME;
|
const showRating =
|
||||||
|
isSongDefined &&
|
||||||
|
(server?.type === ServerType.NAVIDROME || server?.type === ServerType.SUBSONIC);
|
||||||
|
|
||||||
useHotkeys([
|
useHotkeys([
|
||||||
[bindings.volumeDown.isGlobal ? '' : bindings.volumeDown.hotkey, handleVolumeDown],
|
[bindings.volumeDown.isGlobal ? '' : bindings.volumeDown.hotkey, handleVolumeDown],
|
||||||
|
|||||||
Reference in New Issue
Block a user