Fix cover art not showing in notification when using a BaseURL
This commit is contained in:
@@ -22,7 +22,7 @@ import {
|
|||||||
} from '../actions'
|
} from '../actions'
|
||||||
import config from '../config'
|
import config from '../config'
|
||||||
import PlayerToolbar from './PlayerToolbar'
|
import PlayerToolbar from './PlayerToolbar'
|
||||||
import { sendNotification, baseUrl } from '../utils'
|
import { sendNotification } from '../utils'
|
||||||
import { keyMap } from '../hotkeys'
|
import { keyMap } from '../hotkeys'
|
||||||
import useCurrentTheme from '../themes/useCurrentTheme'
|
import useCurrentTheme from '../themes/useCurrentTheme'
|
||||||
|
|
||||||
@@ -249,7 +249,7 @@ const Player = () => {
|
|||||||
sendNotification(
|
sendNotification(
|
||||||
info.name,
|
info.name,
|
||||||
`${info.singer} - ${info.album}`,
|
`${info.singer} - ${info.album}`,
|
||||||
baseUrl(info.cover)
|
info.cover
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user