mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-16 20:12:22 +03:00
Fix Web Scroller compatibility
This fixes https://github.com/web-scrobbler/web-scrobbler/issues/2828
This commit is contained in:
parent
3cede28161
commit
4b5a5abe1b
@ -12,6 +12,7 @@ import {
|
||||
} from '@material-ui/core/styles'
|
||||
import { useMediaQuery } from '@material-ui/core'
|
||||
import { GlobalHotKeys } from 'react-hotkeys'
|
||||
import clsx from 'clsx'
|
||||
import subsonic from '../subsonic'
|
||||
import {
|
||||
scrobble,
|
||||
@ -85,14 +86,16 @@ const AudioTitle = React.memo(({ audioInfo, isMobile }) => {
|
||||
return (
|
||||
<Link to={`/album/${audioInfo.albumId}/show`} className={className}>
|
||||
<span>
|
||||
<span className={classes.songTitle}>{audioInfo.name}</span>
|
||||
<span className={clsx(classes.songTitle, 'songTitle')}>
|
||||
{audioInfo.name}
|
||||
</span>
|
||||
{isDesktop && (
|
||||
<QualityInfo record={qi} className={classes.qualityInfo} />
|
||||
)}
|
||||
</span>
|
||||
{!isMobile && (
|
||||
<div className={classes.artistAlbum}>
|
||||
<span className={classes.songInfo}>
|
||||
<span className={clsx(classes.songInfo, 'songInfo')}>
|
||||
{`${audioInfo.singer} - ${audioInfo.album}`}
|
||||
</span>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user