mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 18:13:31 +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 showRating = isSongDefined && server?.type === ServerType.NAVIDROME;
|
||||
const showRating =
|
||||
isSongDefined &&
|
||||
(server?.type === ServerType.NAVIDROME || server?.type === ServerType.SUBSONIC);
|
||||
|
||||
useHotkeys([
|
||||
[bindings.volumeDown.isGlobal ? '' : bindings.volumeDown.hotkey, handleVolumeDown],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue