Fix cover art not showing in notification when using a BaseURL
This commit is contained in:
parent
c86d2a93b1
commit
a81ef0923b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue