mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
show right control rating for subsonic servers
This commit is contained in:
parent
4328d8860e
commit
78dc89303d
1 changed files with 3 additions and 1 deletions
|
|
@ -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],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue